@tnwx/cache
Version:
TNWX 微信系开发脚手架之缓存
13 lines (12 loc) • 337 B
TypeScript
/**
* @author Javen
* @copyright javendev@126.com
* @description 默认的缓存策略
*/
import { ICache } from './ICache';
export declare class DefaultCache implements ICache {
private map;
get(key: string): Promise<string>;
set(key: string, jsonValue: string): Promise<void>;
remove(key: string): Promise<void>;
}