bus

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bus

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

Bus defines the structure of a device for PUB/SUB messaging

func NewBus

func NewBus(name, unit, backend, frontend, capture string) *Bus

NewBus instantiates a new PUB/SUB bus type.

func (*Bus) Run

func (b *Bus) Run(done chan bool)

Run the bus routine that handles PUB/SUB messages.

Jump to

Keyboard shortcuts

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