Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graylog ¶
Graylog represents an established graylog connection
func NewGraylog ¶
NewGraylog instanciates a new graylog connection using the given endpoint
func NewGraylogTLS ¶
NewGraylogTLS instanciates a new graylog connection with TLS, using the given endpoint
type Message ¶
type Message struct { Version string `json:"version"` Host string `json:"host"` ShortMessage string `json:"short_message"` FullMessage string `json:"full_message,omitempty"` Timestamp int64 `json:"timestamp,omitempty"` Level uint `json:"level,omitempty"` Extra map[string]string `json:"-"` }
Message represents a GELF formated message
Click to show internal directories.
Click to hide internal directories.