Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Id string `json:"id,omitempty"` Version string `json:"version"` Host string `json:"host"` ShortMessage string `json:"short_message"` FullMessage string `json:"full_message,omitempty"` Timestamp time.Time `json:"timestamp"` Level int32 `json:"level,omitempty"` Facility string `json:"facility,omitempty"` File string `json:"file,omitempty"` Line int32 `json:"line,omitempty"` Extra map[string]interface{} `json:"extra,omitempty"` }
Custom structure needed only to convert GELF unix-timestamp to time.Time
func NewMessageFromGelf ¶
Returns custom message based on GELF message structure
type SearchQuery ¶
type SearchResult ¶
Click to show internal directories.
Click to hide internal directories.