mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
@@ -2,7 +2,6 @@ package config
|
||||
|
||||
// MongoConfig specifies the properties required to use MongoDB as the storage backend
|
||||
type MongoConfig struct {
|
||||
TimeoutConf
|
||||
URL string `validate:"required" envconfig:"ATHENS_MONGO_STORAGE_URL"`
|
||||
CertPath string `envconfig:"ATHENS_MONGO_CERT_PATH"`
|
||||
InsecureConn bool `envconfig:"ATHENS_MONGO_INSECURE"`
|
||||
|
||||
Reference in New Issue
Block a user