http

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerHTTPJSON added in v0.0.48

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

HandlerHTTPJSON is a HTTP/JSON Input handler

func Create

func Create() (*HandlerHTTPJSON, error)

Create will create a new HandlerHTTPJSON

func (*HandlerHTTPJSON) Close added in v0.0.48

func (handler *HandlerHTTPJSON) Close() error

Close closes the handler.

func (*HandlerHTTPJSON) Dial added in v0.0.48

func (handler *HandlerHTTPJSON) Dial() error

Dial opens the handler.

func (*HandlerHTTPJSON) Errors added in v0.0.48

func (handler *HandlerHTTPJSON) Errors() chan error

Errors returns a channel to receive errors from the handler

func (*HandlerHTTPJSON) HandlerFunc added in v0.0.48

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

HandlerFunc handles http input

func (*HandlerHTTPJSON) Packets added in v0.0.48

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

Packets returns a channel to receive packets from the input handler

func (*HandlerHTTPJSON) Pools added in v0.0.48

func (handler *HandlerHTTPJSON) Pools() bool

Pools returns whether the input pools

Jump to

Keyboard shortcuts

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