Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Get(key string) (string, error)
Set(key string, value string, expire time.Duration) error
Del(key string) error
Expire(key string, dur time.Duration) error
Exists(key string) bool
HGetAll(key string) (map[string]string, error)
HGet(key, field string) (string, error)
HSet(key, field, value string) error
HDel(key string, field string) error
HExists(key, field string) error
}
Click to show internal directories.
Click to hide internal directories.