Documentation
¶
Index ¶
Constants ¶
View Source
const ( BUILD = "BUILD" RUNTIME = "RUNTIME" RESPONSE = "RESPONSE" STREAM = "STREAM" APPLICATION = "APPLICATION" WEBSERVER = "WEBSERVER" FULL = "FULL" SHORT = "SHORT" JSON = "JSON" JSONSTREAM = "JSONSTREAM" AT = "@" HTTPS = "https://" WSS = "wss://" RFC5424 = "5424" RFC3164 = "3164" )
Variables ¶
View Source
var DefaultLevels = Levels{
{"EMERGENCY", "0"},
{"ALERT", "1"},
{"CRITICAL", "2"},
{"ERROR", "3"},
{"WARNING", "4"},
{"NOTICE", "5"},
{"INFORMATIONAL", "6"},
{"DEBUG", "7"},
}
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
Timestamp string `json:"timestamp"`
Version int `json:"version"`
Hostname string `json:"hostname"`
Content string `json:"content"`
Client string `json:"client"`
Facility int `json:"facility"`
FacilityLabel string `json:"facilityLabel"`
Id string `json:"id"`
MsgId string `json:"msgId"`
Priority int `json:"priority"`
ProcId string `json:"procId"`
Severity int `json:"severity"`
SeverityLabel string `json:"severityLabel"`
StructuredData string `json:"structuredData"`
Tag string `json:"tag"`
TlsPeer string `json:"tlsPeer"`
AppName string `json:"appName"`
Message string `json:"message"`
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
type InputValues ¶
type InputValues struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.