Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BindAddr string `envconfig:"BIND_ADDR"` AwsRegion string `envconfig:"AWS_REGION"` BucketName string `envconfig:"BUCKET_NAME"` DatasetAPIURL string `envconfig:"DATASET_API_URL"` DownloadServiceToken string `envconfig:"DOWNLOAD_SERVICE_TOKEN" json:"-"` DatasetAuthToken string `envconfig:"DATASET_AUTH_TOKEN" json:"-"` FilterAPIURL string `envconfig:"FILTER_API_URL"` GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT" json:"-"` HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"` HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"` ServiceAuthToken string `envconfig:"SERVICE_AUTH_TOKEN" json:"-"` SecretKey string `envconfig:"SECRET_KEY" json:"-"` VaultToken string `envconfig:"VAULT_TOKEN" json:"-"` VaultAddress string `envconfig:"VAULT_ADDR"` VaultPath string `envconfig:"VAULT_PATH"` ZebedeeURL string `envconfig:"ZEBEDEE_URL"` IsPublishing bool `envconfig:"IS_PUBLISHING"` }
Config represents the configuration required for the dp-download-service
Click to show internal directories.
Click to hide internal directories.