UNPKG
nest-redis-cache
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
使用redis实现nestjs接口层面的缓存
github.com/Jonathan143/nest-redis-cache
nest-redis-cache
/
dist
/
interfaces
/
index.d.ts
12 lines
(11 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
interface
IRedisConfig
{
port
?:
number
;
host
?:
string
;
username
?:
string
;
password
?:
string
;
db
?:
number
; }
export
interface
IRedisApiCacheConfig
{
redisConfig
?:
IRedisConfig
;
redisEXSecond
?:
number
; }