Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunLogLine ¶
func RunLogLine(runQueue chan LogLineProperties)
RunLogLine runs an instance of a log line through the appropriate output
Types ¶
type LogLineHTTPHeader ¶
LogLineHTTPHeader holds the key and vlue for each header
type LogLineProperties ¶
type LogLineProperties struct { OutputType string SyslogType string SyslogLoc string HTTPLoc string `json:"HTTPLoc"` Text string `json:"Text"` IntervalSecs int `json:"IntervalSecs"` IntervalStdDev float64 `json:"IntervalStdDev"` IntervalMillis int `json:"IntervalMillis"` IntervalStdDevMillis int `json:"IntervalStdDevMillis"` TimestampFormat string `json:"TimestampFormat"` Headers []LogLineHTTPHeader `json:"Headers"` StartTime string `json:"StartTime"` HTTPClient *http.Client FileHandler *os.File }
LogLineProperties holds all the data relevant to running a Log Line
Click to show internal directories.
Click to hide internal directories.