1.0.7 • Published 6 years ago
flightworker-cache v1.0.7
flightworker-cache
缓存类
配置
import {Module, KEY} from 'flightworker-cache'
@Module({
expire: 24*60*60,
prefix: 'demo::',
driver: KEY.AUTO // 自动匹配可用的缓存
})
// will bind the props of `$driver` to `this`
class Cache {
//
}