loggensender

package
v3.0.1-0...-6e699c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2016 License: MIT Imports: 8 Imported by: 1

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

type LogLineHTTPHeader struct {
	Header string `json:"Header"`
	Value  string `json:"Value"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL