format

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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