bosh-agent: github.com/cloudfoundry/bosh-agent/syslog Index | Files | Directories

package syslog

import "github.com/cloudfoundry/bosh-agent/syslog"

Index

Package Files

server.go server_interface.go

type CallbackFunc Uses

type CallbackFunc func(Msg)

type Msg Uses

type Msg struct {
    Content string
}

type Server Uses

type Server interface {
    Start(CallbackFunc) error
    Stop() error
}

func NewServer Uses

func NewServer(port uint16, listenerProvider func(protocol, address string) (net.Listener, error), logger boshlog.Logger) Server

Directories

PathSynopsis
fakes

Package syslog imports 7 packages (graph) and is imported by 28 packages. Updated 2017-09-02. Refresh now. Tools for package owners.