drain

package
v0.0.0-...-3daed5e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 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

type LogDrain interface {
	Send(string) error
}

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

func NewDrain

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