config

package
v0.0.0-...-5b2b37d Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2015 License: Apache-2.0 Imports: 3 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 {
	Mail     ConfigMail
	Udp      ConfigBind
	Tcp      ConfigBind
	Http     ConfigBind
	Database ConfigDatabase
	Metrics  ConfigMetrics
}

func ReadConfig

func ReadConfig(fname string) Config

type ConfigBind

type ConfigBind struct {
	Listen string
}

type ConfigDatabase

type ConfigDatabase struct {
	Filename string
	Interval int
}

type ConfigMail

type ConfigMail struct {
	From   string
	Server string
}

type ConfigMetrics

type ConfigMetrics struct {
	Server string
	Prefix string
}

Jump to

Keyboard shortcuts

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