syslogwriter

package
v74.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpsWriter

func NewHttpsWriter(outputUrl *url.URL, appId string, skipCertVerify bool, dialer *net.Dialer, timeout time.Duration) (w *httpsWriter, err error)

func NewSyslogWriter

func NewSyslogWriter(outputUrl *url.URL, appId string, dialer *net.Dialer, writeTimeout time.Duration) (w *syslogWriter, err error)

func NewTlsWriter

func NewTlsWriter(outputUrl *url.URL, appId string, skipCertVerify bool, dialer *net.Dialer, ioTimeout time.Duration) (w *tlsWriter, err error)

Types

type Writer

type Writer interface {
	Connect() error
	Write(p int, b []byte, source, sourceId string, timestamp int64) (int, error)
	Close() error
}

func NewWriter

func NewWriter(outputUrl *url.URL, appId string, skipCertVerify bool, dialTimeout time.Duration, ioTimeout time.Duration) (Writer, error)

Jump to

Keyboard shortcuts

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