syslogserver

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 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) Serve added in v1.7.4

func (s *SyslogServer) Serve(ctx context.Context, msgChan chan SyslogMessage) error

Jump to

Keyboard shortcuts

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