syslogparser

package
v0.0.0-...-360277a Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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