Support for redis expiration

This commit is contained in:
John Crepezzi 2011-11-21 22:03:50 -05:00
parent 0f2075fcda
commit d0e3e4cd02
5 changed files with 43 additions and 15 deletions

View file

@ -4,6 +4,8 @@ var winston = require('winston');
var hashlib = require('hashlib');
// For storing in files
// options[type] = file
// options[path] - Where to store
var FileDocumentStore = function(options) {
this.basePath = options.path || './data';