Documentation ¶ Index ¶ type Publisher 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 Source Files ¶ View all Source files publisher.go Click to show internal directories. Click to hide internal directories.