Back to godoc.org
github.com/concourse/blackbox / syslog

package syslog

v0.0.0 (5962cd0)
Latest Go to latest
Published: Apr 2, 2018 | License: Apache-2.0 | Module: github.com/concourse/blackbox

Index

Constants

const ServerPollingInterval = 5 * time.Second

func NewDrainer

func NewDrainer(drain Drain, hostname string) (*drainer, error)

type Drain

type Drain struct {
	Transport string `yaml:"transport"`
	Address   string `yaml:"address"`
}

type Drainer

type Drainer interface {
	Drain(line string, tag string) error
}

type DrainerFactory

type DrainerFactory interface {
	NewDrainer() (Drainer, error)
}

func NewDrainerFactory

func NewDrainerFactory(destination Drain, hostname string) DrainerFactory
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier