UNPKG
nest-api-cache
Version:
latest (0.1.0)
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
使用redis实现nestjs接口层面的缓存
github.com/kuangshp/nest-api-cache
nest-api-cache
/
dist
/
nest.api.cache.module.d.ts
6 lines
(5 loc)
•
211 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
DynamicModule
}
from
'@nestjs/common'
;
import
{
IRedisApiCacheConfig
}
from
'./interfaces'
;
export
declare
class
NestApiCacheModule
{
static
forRoot
(
config
?:
IRedisApiCacheConfig
):
DynamicModule
; }