flightworker-cache
v1.0.7
Published
```js 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 { // } ```
Readme
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 {
//
}