redis

package
v0.0.0-...-777230d Latest Latest
Warning

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

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

README

REDIS

## TO BE DEVELOPED

REDIS

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

func WithClient

func WithClient(c *redis.Client) Option

type Options

type Options struct {
	Client *redis.Client
}

type PSMQ

type PSMQ struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *PSMQ

New returns a new Channel

func (*PSMQ) Close

func (t *PSMQ) Close()

func (*PSMQ) CreatePublishTopic

func (t *PSMQ) CreatePublishTopic(name string) chan<- []byte

func (*PSMQ) Done

func (t *PSMQ) Done() chan struct{}

func (*PSMQ) ErrChan

func (t *PSMQ) ErrChan() chan error

func (*PSMQ) Init

func (t *PSMQ) Init()

func (*PSMQ) SubscribeToTopic

func (t *PSMQ) SubscribeToTopic(name string) <-chan []byte

Jump to

Keyboard shortcuts

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