Documentation
¶
Index ¶
- type File
- type RedisClient
- func (client RedisClient) Close() error
- func (client RedisClient) GetDatabases() (map[uint64]string, error)
- func (client RedisClient) Scan(cursor *uint64, match string, limit uint64) ([]string, error)
- func (client RedisClient) Select(db uint64) error
- func (client RedisClient) SerializedLength(key string) (uint64, error)
- func (client RedisClient) Ttl(key string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisClient ¶
type RedisClient struct { Id string // contains filtered or unexported fields }
func NewRedisClient ¶
func NewRedisClient(host string, port uint16, password string) (*RedisClient, error)
func (RedisClient) Close ¶
func (client RedisClient) Close() error
func (RedisClient) GetDatabases ¶
func (client RedisClient) GetDatabases() (map[uint64]string, error)
func (RedisClient) Select ¶
func (client RedisClient) Select(db uint64) error
func (RedisClient) SerializedLength ¶
func (client RedisClient) SerializedLength(key string) (uint64, error)
Click to show internal directories.
Click to hide internal directories.