Documentation ¶
Index ¶
- Constants
- Variables
- func NewClient(addr string) (*redis, error)
- type Client
- func (s Client) Cmds(m *ice.Message, cmd string, arg ...ice.Any) *ice.Message
- func (s Client) Info(m *ice.Message, arg ...string)
- func (s Client) Inputs(m *ice.Message, arg ...string)
- func (s Client) List(m *ice.Message, arg ...string) *ice.Message
- func (s Client) Save(m *ice.Message, arg ...string)
- func (s Client) Scan(m *ice.Message, arg ...string)
- func (s Client) Xterm(m *ice.Message, arg ...string)
- type RedisPool
Constants ¶
View Source
const ( BIN_REDIS_CLI = "bin/redis-cli" REDIS = "redis" INFO = "info" SAVE = "save" )
View Source
const ( NODEID = "nodeid" MASTER = "master" SLOTS = "slots" )
View Source
const ( KEYS = "keys" SCAN = "scan" STRING = "string" HASH = "hash" LIST = "list" ZSET = "zset" SET = "set" GET = "get" DEL = "del" TTL = "TTL" )
View Source
const (
COMMAND = "command"
)
View Source
const (
CONFIG = "config"
)
Variables ¶
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.