syslog

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyslogCfg

type SyslogCfg struct {
	Addr        string `json:"addr"`
	ContentType string `json:"contentType"`
}

type SyslogSource

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

func NewSyslogSource

func NewSyslogSource(cfg SyslogCfg) *SyslogSource

func (*SyslogSource) Recv

func (s *SyslogSource) Recv(ctx context.Context) (kawa.Message[types.Event], func(), error)

func (*SyslogSource) Run

func (s *SyslogSource) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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