Documentation
¶
Index ¶
- func Del(key string) error
- func Get(key string, v interface{}) error
- func Has(key string) bool
- func IsNotFound(err error) bool
- func RegisterCache(name string, cache Cache) error
- func Set(key string, v interface{}, ttl time.Duration) error
- func SetDefault(driver string) error
- func Take(v interface{}, key string, ttl time.Duration, ...) error
- type Cache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
func RegisterCache ¶
func SetDefault ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.