connect

package
v0.0.0-...-a3a5c94 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pub

type Pub struct {
	Closed chan struct{}

	RadioChan chan db.ClusterMessage
	// contains filtered or unexported fields
}

func NewPub

func NewPub(conf conf.PubSubConf, log *logrus.Entry, storeManager store.Manager, discover discover.Manager) *Pub

NewPub - create zmq pub server

func (*Pub) Run

func (s *Pub) Run() error

Run

func (*Pub) Stop

func (s *Pub) Stop()

Stop

type Sub

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

Sub -

func NewSub

func NewSub(conf conf.PubSubConf, log *logrus.Entry, storeManager store.Manager, discover dis.Manager, distribution *distribution.Distribution) *Sub

NewSub Create zmq sub client

func (*Sub) Run

func (s *Sub) Run() error

Run Run

func (*Sub) Stop

func (s *Sub) Stop()

Stop Stop

type SubClient

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

SubClient -

Jump to

Keyboard shortcuts

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