Documentation ¶
Index ¶
- type RedisClient
- func (c *RedisClient) ActiveCount() int
- func (c *RedisClient) BRPop(key string, timeout_secs int) (string, error)
- func (c *RedisClient) ClearAll()
- func (c *RedisClient) Close()
- func (c *RedisClient) GetAll(key string)
- func (c *RedisClient) GetOne(key, id string)
- func (c *RedisClient) Kick(key string, id string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisClient ¶
type RedisClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(server, password string) *RedisClient
func (*RedisClient) ActiveCount ¶
func (c *RedisClient) ActiveCount() int
Click to show internal directories.
Click to hide internal directories.