Versions in this module Expand all Collapse all v0 v0.0.2 Feb 7, 2020 v0.0.1 Feb 6, 2020 Changes in this version + type SubClient struct + Client *redis.Client + func NewSubClient(client *redis.Client) *SubClient + func (c *SubClient) PSubscribe(patterns ...interface{}) *SubResp + func (c *SubClient) PUnsubscribe(patterns ...interface{}) *SubResp + func (c *SubClient) Ping() *SubResp + func (c *SubClient) Receive() *SubResp + func (c *SubClient) Subscribe(channels ...interface{}) *SubResp + func (c *SubClient) Unsubscribe(channels ...interface{}) *SubResp + type SubResp struct + Channel string + Err error + Message string + Pattern string + SubCount int + Type SubRespType + func (r *SubResp) Timeout() bool + type SubRespType uint8 + const Error + const Message + const Pong + const Subscribe + const Unsubscribe