Documentation ¶
Overview ¶
Package rpc provides remote calls to a redis server.
Index ¶
- type Rpc
- func (rpc *Rpc) Blpop(key string, keys ...string) ([][]byte, error)
- func (rpc *Rpc) Brpop(key string, keys ...string) ([][]byte, error)
- func (rpc *Rpc) Del(key string, keys ...string) (int, error)
- func (rpc *Rpc) Get(key string) ([]byte, error)
- func (rpc *Rpc) Hdel(key, field string, fields ...string) (int, error)
- func (rpc *Rpc) Hexists(key, field string) (int, error)
- func (rpc *Rpc) Hget(key, field string) ([]byte, error)
- func (rpc *Rpc) Hgetall(key string) ([][]byte, error)
- func (rpc *Rpc) Hkeys(key string) ([][]byte, error)
- func (rpc *Rpc) Hset(key, id string, value []byte) (int, error)
- func (rpc *Rpc) Lindex(key string, index int) ([]byte, error)
- func (rpc *Rpc) Lpush(key string, value []byte, values ...[]byte) (int, error)
- func (rpc *Rpc) Lrange(key string, start, stop int) ([][]byte, error)
- func (rpc *Rpc) Rpush(key string, value []byte, values ...[]byte) (int, error)
- func (rpc *Rpc) Set(key string, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package args provides types for the redis RPC arguments.
|
Package args provides types for the redis RPC arguments. |
Package reg provides an RPC to register redis handlers.
|
Package reg provides an RPC to register redis handlers. |
Package reply provides types and methods for the redis RPC replies.
|
Package reply provides types and methods for the redis RPC replies. |
Click to show internal directories.
Click to hide internal directories.