config

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Jim = &monkey.Jim{}

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
	OutgoingSMTPFile string
	OutgoingSMTP     map[string]*OutgoingSMTP
}

func Configure

func Configure() *Config

func DefaultConfig

func DefaultConfig() *Config

type OutgoingSMTP added in v0.1.2

type OutgoingSMTP struct {
	Name      string
	Save      bool
	Email     string
	Host      string
	Port      string
	Username  string
	Password  string
	Mechanism string
}

Jump to

Keyboard shortcuts

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