config

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailroom

type Mailroom struct {
	Port  int    `default:"8080"`
	DB    string `default:"postgres://mailroom@localhost/mailroom?sslmode=disable"`
	Redis string `default:"redis://localhost:6379/0"`

	Workers int `default:"24"`

	S3_Region       string `default:"us-east-1"`
	S3_Media_Bucket string `default:"courier-media"`
	S3_Media_Prefix string `default:"/media/"`

	AWS_Access_Key_ID     string `default:"missing_aws_access_key_id"`
	AWS_Secret_Access_Key string `default:"missing_aws_secret_access_key"`
}

Mailroom is our top level configuration object

Jump to

Keyboard shortcuts

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