Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Environment string `required:"true" default:"development"` Port int `required:"true" default:"8080"` LogLevel string `split_words:"true" default:"DEBUG"` MongoURI string `split_words:"true" required:"true"` MongoDatabase string `split_words:"true" required:"true"` MongoTimeout time.Duration `split_words:"true" required:"true"` Seller SellerEndpoints `split_words:"true" required:"true"` }
func LoadConfig ¶
func LoadConfig() Config
type SellerEndpoints ¶
type SellerEndpoints struct {
UrlFindById string `split_words:"true" required:"true"`
}
Click to show internal directories.
Click to hide internal directories.