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"` GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"` HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"` HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"` AWSRegion string `envconfig:"AWS_REGION"` AWSCognitoUserPoolID string `envconfig:"AWS_COGNITO_USER_POOL_ID" json:"-"` AWSCognitoClientId string `envconfig:"AWS_COGNITO_CLIENT_ID" json:"-"` AWSCognitoClientSecret string `envconfig:"AWS_COGNITO_CLIENT_SECRET" json:"-"` AWSAuthFlow string `envconfig:"AWS_AUTH_FLOW" json:"-"` AllowedEmailDomains []string `envconfig:"ALLOWED_EMAIL_DOMAINS" json:"-"` }
Config represents service configuration for dp-identity-api
Click to show internal directories.
Click to hide internal directories.