Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidConn 无法获取与 redis-server 的连接 ErrInvalidConn = errors.New("invalid conn") )
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
Open() error
Close() error
Conn() (Conn, error)
DO(cmd string, args ...interface{}) (interface{}, error)
String(key string) (string, error)
SetString(key, value string, ex string) (interface{}, error)
// contains filtered or unexported methods
}
Cache 缓存
Click to show internal directories.
Click to hide internal directories.