| 1 | export interface ICache { |
| 2 | get(key: string): Promise<any>; |
| 3 | |
| 4 | hGet(key: string, field: string): Promise<any>; |
| 5 | |
| 6 | set(key: string, value: any, ttl?: number): void; |
| 7 | |
| 8 | hSet(key: string, field: string, value: any): Promise<void>; |
| 9 | |
| 10 | has(key: string): Promise<boolean>; |
| 11 | |
| 12 | keys(appendCriteria?: string): Promise<string[]>; |
| 13 | |
| 14 | delete(key: string | string[]): Promise<number>; |
| 15 | |
| 16 | hDelete(key: string, field: string): Promise<any>; |
| 17 | |
| 18 | deleteAll(appendCriteria?: string): Promise<number>; |
| 19 | } |
no outgoing calls
no test coverage detected