Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Content *json.RawMessage `json:"content"` Timestamp int64 `json:"timestamp"` }
Message is a type that stores timestamp and content and can return the json serialized version
func NewBlankMessage ¶
func NewBlankMessage() *Message
Click to show internal directories.
Click to hide internal directories.