format

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Automatic

type Automatic struct{}

func (*Automatic) GetParser

func (f *Automatic) GetParser(line []byte) syslogparser.LogParser

func (*Automatic) GetSplitFunc

func (f *Automatic) GetSplitFunc() bufio.SplitFunc

type Format

type Format interface {
	GetParser([]byte) syslogparser.LogParser
	GetSplitFunc() bufio.SplitFunc
}

type RFC3164

type RFC3164 struct{}

func (*RFC3164) GetParser

func (f *RFC3164) GetParser(line []byte) syslogparser.LogParser

func (*RFC3164) GetSplitFunc

func (f *RFC3164) GetSplitFunc() bufio.SplitFunc

type RFC5424

type RFC5424 struct{}

func (*RFC5424) GetParser

func (f *RFC5424) GetParser(line []byte) syslogparser.LogParser

func (*RFC5424) GetSplitFunc

func (f *RFC5424) GetSplitFunc() bufio.SplitFunc

type RFC6587

type RFC6587 struct{}

func (*RFC6587) GetParser

func (f *RFC6587) GetParser(line []byte) syslogparser.LogParser

func (*RFC6587) GetSplitFunc

func (f *RFC6587) GetSplitFunc() bufio.SplitFunc

Jump to

Keyboard shortcuts

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