Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { StashPort string `env:"STASH_PORT" flag:"stash-port" flagDesc:"Primary Stash Server Port"` Collection string `env:"MONGODB_COLLECTION" flag:"mongodb-collection" flagDesc:"MongoDB collection for data"` Database string `env:"MONGODB_DATABASE" flag:"mongodb-database" flagDesc:"MongoDB database for data"` MongoDBURL string `env:"MONGODB_URL" flag:"mongodb-url" flagDesc:"MongoDB server URL"` }
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns a pointer to a Config instance that has been populated with default values.
Click to show internal directories.
Click to hide internal directories.