subscribe

package
v0.0.0-...-dde4e3c Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: GPL-3.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

func New

func New(logger *zap.Logger, opts option.Options) *Subscriber

func (*Subscriber) Subscribe

func (s *Subscriber) Subscribe(clients []mqtt.Client)

Subscribe start subscribing with goroutines. please note that this isn't a blocking function.

Jump to

Keyboard shortcuts

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