base

package
v0.0.0-...-2081a44 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Formats = map[string]Format{
	"rfc5424":     RFC5424,
	"rfc3164":     RFC3164,
	"json":        JSON,
	"rsyslogjson": RsyslogJSON,
	"gelf":        GELF,
	"influxdb":    InfluxDB,
	"protobuf":    Protobuf,
	"collectd":    Collectd,
	"w3c":         W3C,
	"ltsv":        LTSV,
}

Functions

This section is empty.

Types

type Format

type Format int
const (
	RFC5424 Format = iota
	RFC3164
	JSON
	RsyslogJSON
	GELF
	InfluxDB
	Protobuf
	Collectd
	W3C
	LTSV
)

func ParseFormat

func ParseFormat(format string) Format

Jump to

Keyboard shortcuts

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