Documentation ¶
Overview ¶
定时更新cache: 每类cache有一个更新时间, 到期后, 整体更新该类数据
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AtomicCache ¶
func NewAtomicCache ¶
func NewAtomicCache() *AtomicCache
func (*AtomicCache) GetCache ¶
func (this *AtomicCache) GetCache(key string) interface{}
func (*AtomicCache) Register ¶
func (this *AtomicCache) Register(key string, c Cacher)
func (*AtomicCache) Start ¶
func (this *AtomicCache) Start()
Click to show internal directories.
Click to hide internal directories.