Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Settings ¶
type Settings struct { Port string `envconfig:"port" default:"3000"` BrokerUsername string `envconfig:"broker_username" required:"true"` BrokerPassword string `envconfig:"broker_password" required:"true"` DatabaseUrl string `envconfig:"database_url" required:"true"` Email string `envconfig:"email" required:"true"` AcmeUrl string `envconfig:"acme_url" required:"true"` MaxRoutes int `envconfig:"max_routes" default:"24"` Bucket string `envconfig:"bucket" required:"true"` ALBPrefix string `envconfig:"alb_prefix" default:"domains-broker"` IamPathPrefix string `envconfig:"iam_path_prefix" default:"/domains-broker/"` AwsAccessKeyId string `envconfig:"aws_access_key_id"` AwsSecretAccessKey string `envconfig:"aws_secret_access_key"` AwsDefaultRegion string `envconfig:"aws_default_region" required:"true"` ServerSideEncryption string `envconfig:"server_side_encryption"` APIAddress string `envconfig:"api_address" required:"true"` ClientID string `envconfig:"client_id" required:"true"` ClientSecret string `envconfig:"client_secret" required:"true"` Schedule string `envconfig:"schedule" default:"0 0 * * * *"` RenewDays int `envconfig:"renew_days" default:"30"` UserIdPool []string `envconfig:"user_id_pool" required:"true"` }
func NewSettings ¶
Click to show internal directories.
Click to hide internal directories.