syslogtls

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: 8 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 tls schema

Types

type Syslog

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

Syslog tls output structure

func Create

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

Create a syslog tls 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 packets to the syslog endpoint

func (*Syslog) Pools

func (log *Syslog) Pools() bool

Pools returns whether the syslog endpoint pools connections

Jump to

Keyboard shortcuts

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