configurer

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultDrainURI string

Exported so it can be set by an external agent-- namely main.go, which does some flag parsing.

Functions

This section is empty.

Types

type Configurer

type Configurer struct {
	// contains filtered or unexported fields
}

Configurer takes responsibility for dynamically reconfiguring a syslogish.Server based on changes in etcd.

func NewConfigurer

func NewConfigurer(etcdHost string, etcdPort int, etcdPath string, configInterval int,
	syslogishServer *syslogish.Server) (*Configurer, error)

NewConfigurer returns a pointer to a new Configurer instance.

func (*Configurer) Start

func (c *Configurer) Start()

Start begins the configurer's main loop.

Jump to

Keyboard shortcuts

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