Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisClient ¶
type RedisClient struct { RedisAddr string `json:"redis_addr"` Port string `json:"port"` Password string `json:"password"` }
func NewRedisClient ¶
func NewRedisClient(ip string, port string, password string) *RedisClient
func (*RedisClient) Del ¶
func (rClient *RedisClient) Del(key string, value interface{}) error
func (*RedisClient) Get ¶
func (rClient *RedisClient) Get(key string, value interface{}) (interface{}, error)
func (*RedisClient) Set ¶
func (rClient *RedisClient) Set(key string, value interface{}) error
Click to show internal directories.
Click to hide internal directories.