deer / server /src /common /cache.js
linuxrun's picture
Upload 120 files
181e22f verified
Raw History Blame
202 Bytes
const cache = {};
function get(key) {
return cache[key];
}
function set(key, value) {
cache[key] = value;
}
const exports = {
get,
set,
};
export default exports;
module.exports = exports;