syslog_client

package
v0.0.0-...-1ef328e Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: LGPL-2.1 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewSyslogClient

func NewSyslogClient(done chan struct{}, syslogServerConfig *SyslogServerConfig) *Controller

func (*Controller) Log

func (controller *Controller) Log(body []byte)

type SyslogServerConfig

type SyslogServerConfig struct {
	SyslogServer     *net.UDPAddr
	SyslogAlertLevel int
	SyslogTag        string
}

Jump to

Keyboard shortcuts

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