Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheServer ¶
type CacheServer interface { Set(key string, value interface{}, ttl time.Duration) error Get(key string, target interface{}) (interface{}, error) Expire(key string, ttl time.Duration) error Delete(key string) error DeleteAll(key string) error Close() error }
func NewCacheServer ¶
func NewCacheServer() CacheServer
Click to show internal directories.
Click to hide internal directories.