syslog

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Options map[string]interface{}
	// contains filtered or unexported fields
}

func New

func New(options map[string]interface{}) (*Client, error)

New will initialize and return an authorized Client

func (*Client) Exit

func (syslogClient *Client) Exit() (err error)

func (*Client) Poll

func (syslogClient *Client) Poll(timestamp time.Time, resultsChannel chan<- string, pollOffset int) (count int, currentTimestamp time.Time, err error)

func (*Client) Stream

func (syslogClient *Client) Stream(streamChannel chan<- string) (cancelFunc func(), err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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