collector

package
v0.0.0-...-37044f6 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateHttpCollector

func GenerateHttpCollector(kind string, l *logtap.Logtap) http.HandlerFunc

create and return a http handler that can be dropped into an api.

func StartHttpCollector

func StartHttpCollector(kind, address string, l *logtap.Logtap) (io.Closer, error)

func SyslogTCPStart

func SyslogTCPStart(kind, address string, l *logtap.Logtap) (io.Closer, error)

func SyslogUDPStart

func SyslogUDPStart(kind, address string, l *logtap.Logtap) (io.Closer, error)

Start begins listening to the syslog port transfers all syslog messages on the wChan

Types

This section is empty.

Jump to

Keyboard shortcuts

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