config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFlags

func RegisterFlags()

Types

type Config

type Config struct {
	SMTPBindAddr string
	APIBindAddr  string
	Hostname     string
	MongoUri     string
	MongoDb      string
	MongoColl    string
	StorageType  string
	CORSOrigin   string
	InviteJim    bool
	Storage      storage.Storage
	MessageChan  chan *data.Message
	Assets       func(asset string) ([]byte, error)
	Monkey       monkey.ChaosMonkey
}

func Configure

func Configure() *Config

func DefaultConfig

func DefaultConfig() *Config

Jump to

Keyboard shortcuts

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