UNPKG

yao-node-client

Version:

A node client for yao application development

25 lines (24 loc) 452 B
/** * Store 使用缓存 */ export declare class Store { space: string; /** * * @param {string} space */ constructor(space: string); /** * Get 获取缓存数据 * @param {string} key * @returns */ Get(key: string): any; /** * Set 设置缓存 * @param {string} key * @param {any} value * @returns */ Set(key: string, value: any): any; }