Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

started developping caching

  • Loading branch information...
commit a9183115655a5524627453f099272a602c287408 1 parent 9222485
@Floby authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 lib/cache.js
View
15 lib/cache.js
@@ -0,0 +1,15 @@
+var EventEmitter = require('event').EventEmitter;
+var sys = require('sys');
+function Cache(options) {
+ EventEmitter.apply(this);
+
+ var default = {
+ };
+ this._options = options;
+ this._options.__proto__ = default;
+}
+sys.inherits(Cache, EventEmitter);
+
+Cache.prototype.set = function(key, value, data) {
+
+};
Please sign in to comment.
Something went wrong with that request. Please try again.