mirror of
https://github.com/gomods/athens
synced 2026-02-03 07:30:32 +00:00
Upgrades the AWS SDK to v2. AWS S3 bucket urls will now error if they are not prefixed with a schema (example: https://).
9 lines
390 B
Go
9 lines
390 B
Go
package config
|
|
|
|
// AzureBlobConfig specifies the properties required to use Azure as the storage backend.
|
|
type AzureBlobConfig struct {
|
|
AccountName string `envconfig:"ATHENS_AZURE_ACCOUNT_NAME" validate:"required"`
|
|
AccountKey string `envconfig:"ATHENS_AZURE_ACCOUNT_KEY" validate:"required"`
|
|
ContainerName string `envconfig:"ATHENS_AZURE_CONTAINER_NAME" validate:"required"`
|
|
}
|