configuration

package
v0.0.0-...-d3ffd6a Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2014 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigParser

type ConfigParser func(path string) Configuration

type Configuration

type Configuration struct {
	Backend     string
	Frontend    string
	MaxConn     int
	MaxWaitConn int
}

func ParseConfig

func ParseConfig(parserMethod ConfigParser, path string) Configuration

func ReadConfig

func ReadConfig(f string) Configuration

Jump to

Keyboard shortcuts

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