config

package
v0.0.0-...-ce71dfa Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2012 License: BSD-2-Clause-Views Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AbsPath    string
	ConfFn     string
	DBAdmMode  bool
	DBUser     string
	DBPass     string
	DBAddr     string
	MsgAddr    string
	Debug      bool
	DBName     string
	Addr       string
	PortNum    string
	CacheOpt   bool
	ServeFiles bool
	Secret     string
}

See handleFlags methods about these vars and their uses.

func New

func New() *Config

func (*Config) LoadFromFile

func (c *Config) LoadFromFile()

Jump to

Keyboard shortcuts

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