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"` OnsDomain string `envconfig:"ONS_DOMAIN"` FeedbackTo string `envconfig:"FEEDBACK_TO"` FeedbackFrom string `envconfig:"FEEDBACK_FROM"` VersionPrefix string `envconfig:"VERSION_PREFIX"` Mail *Mail Sanitize *Sanitize }
Config represents service configuration for dp-feedback-api
type Mail ¶
type Mail struct { Host string `envconfig:"MAIL_HOST"` User string `envconfig:"MAIL_USER"` Password string `envconfig:"MAIL_PASSWORD" json:"-"` Port string `envconfig:"MAIL_PORT"` Encrypted bool `envconfig:"MAIL_ENCRYPTION"` }
Mail represents the subset of configuration corresponding to the email service
Click to show internal directories.
Click to hide internal directories.