http

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(endpoint string) bool

Test the schema to see if its https/http

Types

type Syslog

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

Syslog http ouput struct

func Create

func Create(endpoint string, errorsCh chan<- error) (*Syslog, error)

Create a new http json output.

func (*Syslog) Close

func (log *Syslog) Close() error

Close closes the http output

func (*Syslog) Dial

func (log *Syslog) Dial() error

Dial connects to the specified http point

func (*Syslog) Packets

func (log *Syslog) Packets() chan syslog.Packet

Packets returns a channel where packets can be sent to the http output handler

func (*Syslog) Pools

func (log *Syslog) Pools() bool

Pools returns whether the output pools connections

Jump to

Keyboard shortcuts

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