mirror of
https://github.com/gomods/athens
synced 2026-02-03 14:20:31 +00:00
* complete updated config package * use envconfig+toml instead of viper. Add descriptions in example config file * add unit tests * debug gofmt on build server * force dummy commit * skip gofmt to validate other tests are passing * unset env vars for example file parsing test * cleanup tests * test improvements * re-enable gofmt * naming * PR comments * fix failing test after olympus default endpoint change * remove rdbms config * set defaults in code * add support for proxyfilteroff * add basic auth params * update gopkg.lock * undo gopkg.lock changes made during merge * remove defaults * explicitly specify all env variables * remove rdbms from example * remove user and pass to disable basic auth by default * switch to memory by default for the proxy * fix tests after config file change
7 lines
202 B
Go
7 lines
202 B
Go
package config
|
|
|
|
// DiskConfig specifies the properties required to use Disk as the storage backend
|
|
type DiskConfig struct {
|
|
RootPath string `validate:"required" envconfig:"ATHENS_DISK_STORAGE_ROOT"`
|
|
}
|