sysloghttp

package
v0.0.55 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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(endpoint string) bool

Test for a syslog http schema

Types

type Syslog

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

Syslog http output structure

func Create

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

Create a syslog http output

func (*Syslog) Close

func (log *Syslog) Close() error

Close the syslog output

func (*Syslog) Dial

func (log *Syslog) Dial() error

Dial connects to the syslog output

func (*Syslog) Packets

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

Packets returns a channel to send syslog packets to the endpoint

func (*Syslog) Pools

func (log *Syslog) Pools() bool

Pools checks to see if the output pools

Jump to

Keyboard shortcuts

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