Documentation ¶
Overview ¶
Package message contains the structure for basic messages that are allowed to be sent through the RX and TX channels.
Example ¶
m1 := new(Basic) m1.Text = "I am a string" m1.ID = 2 m1.Finished = true fmt.Println(m1.Text) fmt.Println(m1.ID) fmt.Println(m1.Finished)
Output: I am a string 2 true
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
Basic implements the message structure that is added to the inbox and sent to the plugins
type BasicChannel ¶
type BasicChannel chan Basic
BasicChannel is a channel that accepts Basic messages. All transmit and receive channels must fit this type
Click to show internal directories.
Click to hide internal directories.