syslogparser

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseStream

func ParseStream(r io.Reader, callback func(res *syslog.Result)) error

ParseStream parses a rfc5424 syslog stream from the given Reader, calling the callback function with the parsed messages. The parser automatically detects octet counting. The function returns on EOF or unrecoverable errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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