Documentation
¶
Index ¶
- Variables
- func ClearCache() (err error)
- func Delete(key string) (err error)
- func Get(key string) (value interface{}, err error)
- func GetKeys() (keys []string, err error)
- func New(options ...*cache.Option) (c cache.Cache)
- func NewOption() (op *cache.Option)
- func Set(key string, value interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultCache use for default cache client DefaultCache = New() )
Functions ¶
func ClearCache ¶
func ClearCache() (err error)
ClearCache will Clear the cache using default option
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.