syslogserver

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 7 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