Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Date string `json:"date"` Time string `json:"time"` Type MessageType `json:"type"` Message string `json:"message"` StackItems []*StackItem `json:"stackItems"` Tags []string `json:"tags"` }
func NewMessage ¶
func NewMessage(date, time string, messageType MessageType, message string) *Message
type MessageType ¶
type MessageType int
const ( UNKNOWN MessageType = 1 ERROR_MESSAGE MessageType = 2 INFO_MESSAGE MessageType = 3 WARNING_MESSAGE MessageType = 4 )
func Lookup ¶
func Lookup(messageType string) MessageType
func (MessageType) String ¶
func (this MessageType) String() string
Click to show internal directories.
Click to hide internal directories.