Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) Set ¶
func (c *Cache) Set(key interface{}, value interface{}) ExpireFunc
func (*Cache) SetAndAutoFunc ¶
func (c *Cache) SetAndAutoFunc(key interface{}, value interface{}, auto func() interface{}) ExpireFunc
type ExpireFunc ¶
type ExpireFunc func()
Click to show internal directories.
Click to hide internal directories.