Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisPubSub ¶
type RedisPubSub struct {
// contains filtered or unexported fields
}
func NewRedisPubSub ¶
func NewRedisPubSub(client *redis.Client) *RedisPubSub
func (RedisPubSub) Close ¶
func (rps RedisPubSub) Close() error
func (RedisPubSub) Listen ¶
func (rps RedisPubSub) Listen(listener internal.SubscribeListener)
func (RedisPubSub) Publish ¶
func (rps RedisPubSub) Publish(channel string, message interface{}) error
func (RedisPubSub) Subscribe ¶
func (rps RedisPubSub) Subscribe(channels ...string) error
func (RedisPubSub) Unsubscribe ¶
func (rps RedisPubSub) Unsubscribe(channels ...string) error
Click to show internal directories.
Click to hide internal directories.