Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFreeCache ¶
func NewGoCache ¶
Types ¶
type Cache ¶
type Cache interface { Delete(key string) bool SetBytes(key string, value []byte, expireSeconds ...int) error GetBytes(key string) ([]byte, error) SetString(key string, value string, expireSeconds ...int) error GetString(key string) (string, error) SetInterface(key string, value interface{}, expireSeconds ...int) error GetInterface(key string, values ...interface{}) (interface{}, error) }
Click to show internal directories.
Click to hide internal directories.