listen

package
v0.0.0-...-8170b65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PConnect

func PConnect(ip, password string) redis.Conn

func PubCallback

func PubCallback(patter, channel, msg string)

func Setup

func Setup()

Types

type PSubscribeCallback

type PSubscribeCallback func(pattern, channel, message string)

type PSubscriber

type PSubscriber struct {
	// contains filtered or unexported fields
}

func (*PSubscriber) Psubscribe

func (c *PSubscriber) Psubscribe()

func (*PSubscriber) ReceiveKeySpace

func (c *PSubscriber) ReceiveKeySpace(conn redis.Conn)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL