Skip to content

interledgerjs/ilp-store-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ILP Store Redis

ILP store for the connector, using redis as a backend

const Store = require('ilp-store-redis')
const redisStore = new Store({
  path: 'test.example', // used as prefix for keys and publish
  port: 6379 // extra arguments are passed to `ioredis` constructor
})

await redisStore.get(key)
await redisStore.put(key, value)
await redisStore.del(key)