syslogtcp

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 5 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 tcp schema

Types

type Syslog

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

Syslog tcp output structure

func Create

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

Create a syslog tcp 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 on

func (*Syslog) Pools

func (log *Syslog) Pools() bool

Pools checks to see if the syslog output pools

Jump to

Keyboard shortcuts

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