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
/
decorators
/
nest.redis.cache.d.ts
7 lines
(6 loc)
•
215 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Request
}
from
'express'
;
export
declare
function
NestCacheApi
(
{ exSecond, key, formatKey, }?: { exSecond?:
number
; key?:
string
; formatKey?: (key:
string
, request: Request) =>
string
; }
):
any
;