config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2015 License: MIT Imports: 6 Imported by: 6

Documentation

Index

Constants

View Source
const Version = "0.2.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Directions       []hitcounter.Direction
	ListenAddress    string
	ListenType       string
	DashboardAddress string
}

Configuration is a struct that represents the contents of a configuration file.

func ReadConfig

func ReadConfig(filename string) (*Configuration, []error)

ReadConfig parses a configuration file and returns an instance of Configuration.

Jump to

Keyboard shortcuts

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