syslog

package
v0.0.0-...-29fb1c0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyslogMessage

type SyslogMessage struct {
	Timestemp time.Time
	Hostname  string
	Tag       string
	Service   int
	Content   string
	Facility  int
	Severity  int
}

func Parse

func Parse(binaryMsg []byte) *SyslogMessage

func (*SyslogMessage) Dump

func (msg *SyslogMessage) Dump() []byte

func (*SyslogMessage) Priority

func (msg *SyslogMessage) Priority() int

Jump to

Keyboard shortcuts

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