Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //Logger is the global zap logger Logger zerolog.Logger //StormDB is the global bolt database variable StormDB *storm.DB )
Functions ¶
func MessageEncode ¶
func MessageEncode(msg BaseMessage) []byte
MessageEncode will encode and test the message (and maybe send it?)
Types ¶
type BaseMessage ¶
type BaseMessage struct { MessageType string MessageBody interface{} }
BaseMessage is the base message for all messages sent/received
Click to show internal directories.
Click to hide internal directories.