express-etcd
express-etcd is a Etcd session store for express backed by node-etcd
Installation
npm install express-etcd --save
Options
url
Etcd host url or urls (either a string or an array)directory
Etcd directory to use (defaultexpress-session
)ttl
time-to-live (expiration) in seconds that the key will last for. By default the maxAge of the session cookie will be used.etcdOptions
Object passed through to the node-etcd constructor
Usage
var session = ;var EtcdStore = ;var options = url: 'foo.bar:2379' 'baz.bar:2379' directory: 'mydir' etcdOptions: timeout: 1000 ; app;