implementação do logger
This commit is contained in:
6
src/core/configs/cache/IRedisClient.ts
vendored
Normal file
6
src/core/configs/cache/IRedisClient.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface IRedisClient {
|
||||
get<T>(key: string): Promise<T | null>;
|
||||
set<T>(key: string, value: T, ttlSeconds?: number): Promise<void>;
|
||||
del(key: string): Promise<void>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user