Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(conn redis.Conn, topic string) (*Subscriber, error)
func (*Subscriber) Close ¶
func (s *Subscriber) Close()
func (*Subscriber) Subscribe ¶
func (s *Subscriber) Subscribe(cb func([]byte)) error
Click to show internal directories.
Click to hide internal directories.