Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Endpoint string `env:"ENDPOINT" envDefault:"http://10.64.16.186"` AppPort int `env:"APP_PORT" envDefault:"80"` Dataset string `env:"DATASET" envDefault:"196_autoMpg_MIN_METADATA_dataset_TRAIN"` RetryCount int `env:"RETRY_COUNT" envDefault:"60"` }
Config represents the application configuration state loaded from env vars.
func LoadConfig ¶
LoadConfig loads the config from the environment if necessary and returns a copy.
Click to show internal directories.
Click to hide internal directories.