Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MongoDB struct { URI string `yaml:"uri" env:"URI" env-required:"true"` } `yaml:"mongodb" env-prefix:"MONGODB_"` GRPC struct { Addr string `yaml:"address" env:"ADDR" env-default:":80"` } `yaml:"grpc" env-prefix:"GRPC_"` Validation struct { Rules validate.TypeRules `yaml:"rules" env:"RULES"` } `yaml:"validation" env-prefix:"VALIDATION_"` }
Click to show internal directories.
Click to hide internal directories.