Documentation ¶
Index ¶
- Variables
- func CreateCache(mark string, num int)
- func DeleteCache(mark string)
- func GetCacheKeys(mark string) []interface{}
- func GetCacheLen(mark string) int
- func GetCacheValue(mark string, key string) interface{}
- func RemoveCacheValue(mark string, key string)
- func SetCacheValue(mark string, key string, value interface{})
- func Start()
- func Stop()
- type CacheStart
- type CacheStop
Constants ¶
This section is empty.
Variables ¶
View Source
var AutoCreateCacheNum int
自动添加缓存队列数量
View Source
var IsAutoCreateCache bool
自动添加
Functions ¶
Types ¶
type CacheStart ¶
type CacheStart struct { IsAutoCreate bool `autoInjectCfg:"octopus.cache.auto.create.is"` AutoCreateCacheNum int `autoInjectCfg:"octopus.cache.auto.create.num"` }
Cache启动方法
func (*CacheStart) Start ¶
func (c *CacheStart) Start()
func (*CacheStart) Stop ¶
func (d *CacheStart) Stop()
Click to show internal directories.
Click to hide internal directories.