syslogserver

package
v1.6.3-rc4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 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 SyslogMessage

type SyslogMessage struct {
	Message []byte
	Client  string
}

type SyslogServer

type SyslogServer struct {
	Logger        *log.Entry
	MaxMessageLen int
	// contains filtered or unexported fields
}

func (*SyslogServer) KillServer

func (s *SyslogServer) KillServer() error

func (*SyslogServer) Listen

func (s *SyslogServer) Listen(listenAddr string, port int) error

func (*SyslogServer) SetChannel

func (s *SyslogServer) SetChannel(c chan SyslogMessage)

func (*SyslogServer) StartServer

func (s *SyslogServer) StartServer() *tomb.Tomb

Jump to

Keyboard shortcuts

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