Documentation
¶
Overview ¶
Package go_redis_client Time : 2022/8/13 11:34 Author : xushiyin contact : yuqingxushiyin@gmail.com
Index ¶
- type RedisClient
- func (c *RedisClient) Close() error
- func (c *RedisClient) Flush(ctx context.Context) error
- func (c *RedisClient) Get(ctx context.Context, key string) (string, error)
- func (c *RedisClient) HyperLogAdd(ctx context.Context, key string, els ...interface{}) (int64, error)
- func (c *RedisClient) HyperLogCount(ctx context.Context, key string) (int64, error)
- func (c *RedisClient) Set(ctx context.Context, key string, value interface{}) error
- type RedisConf
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 NewRedisClient ¶
func NewRedisClient(c *RedisConf) *RedisClient
func (*RedisClient) Close ¶
func (c *RedisClient) Close() error
func (*RedisClient) HyperLogAdd ¶
func (*RedisClient) HyperLogCount ¶
Click to show internal directories.
Click to hide internal directories.