Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { SetOneDay(key string, value interface{}) error Set(key string, value interface{}, expiration time.Duration) error Get(key string) (value string, err error) Del(key ...string) error HSet(key string, values ...interface{}) error HGet(key, field string) (string, error) HDel(key string, fields ...string) error HGetAll(key string) (map[string]string, error) Close() }
支持set、hashSet操作
Click to show internal directories.
Click to hide internal directories.