blackbox: github.com/concourse/blackbox/syslog Index | Files | Directories

package syslog

import "github.com/concourse/blackbox/syslog"

Index

Package Files

drainer.go drainer_factory.go

Constants

const ServerPollingInterval = 5 * time.Second

func NewDrainer Uses

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

type Drain Uses

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

type Drainer Uses

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

type DrainerFactory Uses

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

func NewDrainerFactory Uses

func NewDrainerFactory(destination Drain, hostname string) DrainerFactory

Directories

PathSynopsis
syslogfakesThis file was generated by counterfeiter

Package syslog imports 3 packages (graph) and is imported by 2 packages. Updated 2018-04-04. Refresh now. Tools for package owners.