Documentation ¶
Index ¶
- type HandlerHTTPJSON
- func (handler *HandlerHTTPJSON) Close() error
- func (handler *HandlerHTTPJSON) Dial() error
- func (handler *HandlerHTTPJSON) Errors() chan error
- func (handler *HandlerHTTPJSON) HandlerFunc(response http.ResponseWriter, req *http.Request)
- func (handler *HandlerHTTPJSON) Packets() chan syslog.Packet
- func (handler *HandlerHTTPJSON) Pools() bool
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 (*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
Click to show internal directories.
Click to hide internal directories.