merged private server and console to private-cloud

This commit is contained in:
strawmanbobi
2020-01-12 19:15:08 +08:00
parent 15d977ccd6
commit 90f2d17331
176 changed files with 220265 additions and 0 deletions

22
console/mini_poem/cache/base_cache.js vendored Normal file
View File

@@ -0,0 +1,22 @@
/**
* Created by strawmanbobi
* 2014-12-01.
*/
var BaseCache = function(_cacheType, _host, _port, _user, _password) {
throw new Error("Abstract class");
};
BaseCache.prototype.set = function(key, value, ttl, callback) {
throw new Error("Could not implemented");
};
BaseCache.prototype.get = function(key, callback) {
throw new Error("Could not implemented");
};
BaseCache.prototype.delete = function(key, callback) {
throw new Error("Could not implemented");
};
module.exports = BaseCache;