sysloghttp

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerHTTPSyslog added in v0.0.48

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

HandlerHTTPSyslog handles Syslog HTTP inputs

func Create

func Create() (*HandlerHTTPSyslog, error)

Create a new syslog http input

func (*HandlerHTTPSyslog) Close added in v0.0.48

func (handler *HandlerHTTPSyslog) Close() error

Close input handler.

func (*HandlerHTTPSyslog) Dial added in v0.0.48

func (handler *HandlerHTTPSyslog) Dial() error

Dial input handler.

func (*HandlerHTTPSyslog) Errors added in v0.0.48

func (handler *HandlerHTTPSyslog) Errors() chan error

Errors returns a channel that sends errors occuring from input

func (*HandlerHTTPSyslog) HandlerFunc added in v0.0.48

func (handler *HandlerHTTPSyslog) HandlerFunc(response http.ResponseWriter, req *http.Request)

HandlerFunc is a HTTP Handler Function for input

func (*HandlerHTTPSyslog) Packets added in v0.0.48

func (handler *HandlerHTTPSyslog) Packets() chan syslog.Packet

Packets returns a channel that sends incoming packets from input

func (*HandlerHTTPSyslog) Pools added in v0.0.48

func (handler *HandlerHTTPSyslog) Pools() bool

Pools returns whether this input pools connections or not.

Jump to

Keyboard shortcuts

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