Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // Time at which the message was generated Time time.Time `json:"time"` // Type of this message Type MessageType `json:"type"` // Content of this message Content string `json:"content"` }
Message is a generic container for messages
type MessageType ¶
type MessageType int64
MessageType is the generic type of a message
const ( Success MessageType = iota Warning Error )
Valid MessageType values
Click to show internal directories.
Click to hide internal directories.