Skip to content

segment-boneyard/hermes-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hermes-redis

persisted storage plugin for hermes with redis.

set

robot.data(key, value);

get

robot.data(key, function(err, value){});

redis url to connect to

defaults to redis://localhost:6379 and can be set via REDIS_URL env var.

namespace your keys

namespace yours keys by your plugin name to prevent clashes. soif you're writing a plugin called "contacts", to store a list of your "homies" you'd do:

robot.data('contacts:homies', ["@travisjeffery"]);

LICENSE

MIT

About

persisted storage for hermes with redis

Resources

Stars

Watchers

Forks

Packages

No packages published