Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MetricsAddress string AccessLog bool HandleAsync bool SentryDSN string // SMTP server config for SMTP Relay SMTP struct { Host string Port int } // Remote SMTP to which emails will be relayed RemoteSMTP struct { Host string Port int User string Password string DisableTLS bool } }
Config contains all the config for serving SMTP Relay
func BuildConfigFromEnv ¶
func BuildConfigFromEnv() *Config
BuildConfigFromEnv populates a config from env variables
Click to show internal directories.
Click to hide internal directories.