Versions in this module Expand all Collapse all v0 v0.0.11 Oct 19, 2021 v0.0.10 Sep 28, 2021 Changes in this version + type Client struct + DB int + Host string + Password string + func GetRedisClientPool() (*Client, error) + func NewRedisClientPool(host string, options ...Option) (*Client, error) + func (p *Client) Conn() *redis.Client + func (p *Client) Delete(key string) (int64, error) + func (p *Client) Exists(key string) bool + func (p *Client) Get(key string) (string, error) + func (p *Client) Set(key string, data interface{}, time time.Duration) error + type Option func(*Client) + func DB(db int) Option + func Password(password string) Option