Files
2025-10-28 10:30:20 +08:00

22 lines
513 B
JavaScript

/**
* Created by strawmanbobi
* 2014-12-01.
*/
let 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;