zmq

package
v0.0.0-...-2b6d021 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subscriber

type Subscriber struct {
	sync.Mutex

	Close chan os.Signal
	Wait  chan bool
	Error chan error
	// contains filtered or unexported fields
}

func New

func New() *Subscriber

func (*Subscriber) AddDestination

func (s *Subscriber) AddDestination(d delivery.Publisher) int

func (*Subscriber) BatchSubscribe

func (s *Subscriber) BatchSubscribe(channels []string)

func (*Subscriber) Detach

func (s *Subscriber) Detach() error

func (*Subscriber) RemoveDestination

func (s *Subscriber) RemoveDestination(d delivery.Publisher) int

func (*Subscriber) Sock

func (s *Subscriber) Sock() *goczmq.Channeler

func (*Subscriber) Start

func (s *Subscriber) Start() chan bool

func (*Subscriber) Subscribe

func (s *Subscriber) Subscribe(channel string)

Jump to

Keyboard shortcuts

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