Back to godoc.org

Package config

v1.13.0
Latest Go to latest

The highest tagged major version is .

Published: Apr 16, 2018 | License: Apache-2.0 | Module: code.cloudfoundry.org/cf-networking-release

Index

type Netmon

type Netmon struct {
	PollInterval  int    `json:"poll_interval" validate:"min=1"`
	MetronAddress string `json:"metron_address" validate:"nonzero"`
	InterfaceName string `json:"interface_name" validate:"nonzero"`
	LogLevel      string `json:"log_level"`
	LogPrefix     string `json:"log_prefix" validate:"nonzero"`
}

func New

func New(path string) (*Netmon, error)

func (Netmon) ParseLogLevel

func (n Netmon) ParseLogLevel() (lager.LogLevel, error)

func (*Netmon) Validate

func (c *Netmon) Validate() error

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

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