config

package
v74.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: Apache-2.0, BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Syslog     string
	Deployment string
	Zone       string
	Job        string
	Index      string

	IncomingUDPPort int

	GRPC GRPC

	SharedSecret string // TODO: Delete when UDP is removed

	DopplerAddr    string
	DopplerAddrUDP string // TODO: Delete when UDP is removed

	MetricBatchIntervalMilliseconds  uint
	RuntimeStatsIntervalMilliseconds uint

	PPROFPort uint32
}

func Parse

func Parse(reader io.Reader) (*Config, error)

func ParseConfig

func ParseConfig(configFile string) (*Config, error)

type GRPC

type GRPC struct {
	CAFile   string
	CertFile string
	KeyFile  string
}

Jump to

Keyboard shortcuts

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