Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultVars = &Vars{}
Functions ¶
func MustProcessDefault ¶
func MustProcessDefault()
Types ¶
type Vars ¶
type Vars struct { MySQLUser string `envconfig:"MYSQL_USER"` MySQLPassword string `envconfig:"MYSQL_PASSWORD"` MySQLHost string `envconfig:"MYSQL_HOST"` MySQLPort string `envconfig:"MYSQL_PORT"` MySQLDatabase string `envconfig:"MYSQL_DATABASE"` HTTPPort int `envconfig:"PORT" default:"5001"` JaegerAgentEndpoint string `enconfig:"JAEGER_AGENT_ENDPOINT"` JaegerCollectorEndpoint string `envconfig:"JAEGER_COLLECTOR_ENDPOINT"` }
func MustProcess ¶
func MustProcess() *Vars
Click to show internal directories.
Click to hide internal directories.