Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCache ¶
type RedisCache interface { Set(key string, value interface{}) error Get(key string) (string, error) Del(key string) error }
func NewRedisCache ¶
type RistrettoCache ¶
type RistrettoCache interface { Set(key string, value interface{}) Get(key string) interface{} Del(key ...string) }
func NewRistrettoCache ¶
func NewRistrettoCache() (RistrettoCache, error)
Click to show internal directories.
Click to hide internal directories.