drain

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogDrain added in v1.11.0

type LogDrain interface {
	Send(string) error
}

LogDrain is an interface for pluggable components that ship logs to a remote destination.

func NewDrain added in v1.11.0

func NewDrain(drainURL string) (LogDrain, error)

NewDrain returns a pointer to an appropriate implementation of the LogDrain interface, as determined by the drainURL it is passed.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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