pub

package module
v0.0.0-...-d53b600 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher interface {
	PublishMessage(msgType int, msgHash []byte, msg []byte) error
}

Publisher defines an interface and method to publish message msgType is the type of message, defined in pkg/bmp/consts.go MsgHash optionally defines the key to use by the backend when storing message msg is json marshaled message of msgType

Jump to

Keyboard shortcuts

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