Documentation ¶
Index ¶
- func Delete(cache Cache, key string)
- func Exists(cache Cache, key string) bool
- func GetBool(cache Cache, key string) (bool, bool)
- func GetString(cache Cache, key string) (string, bool)
- func SetBool(cache Cache, key string, v bool)
- func SetString(cache Cache, key string, v string)
- type Cache
- type CacheFactory
- type CacheOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type CacheFactory ¶
type CacheFactory interface {
Create(options *CacheOptions) Cache
}
type CacheOptions ¶
Click to show internal directories.
Click to hide internal directories.