mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 22:34:04 +00:00
13 lines
187 B
Go
13 lines
187 B
Go
package mailhog
|
|
|
|
func DefaultConfig() *Config {
|
|
return &Config{
|
|
BindAddr: "0.0.0.0:1025",
|
|
Hostname: "mailhog.example",
|
|
}
|
|
}
|
|
|
|
type Config struct {
|
|
BindAddr string
|
|
Hostname string
|
|
}
|