mirror of
https://github.com/crazy-max/diun.git
synced 2026-01-03 19:45:05 +01:00
15 lines
572 B
Go
15 lines
572 B
Go
package model
|
|
|
|
// Mail holds mail notification configuration details
|
|
type Mail struct {
|
|
Enable bool `yaml:"enable,omitempty"`
|
|
Host string `yaml:"host,omitempty"`
|
|
Port int `yaml:"port,omitempty"`
|
|
SSL bool `yaml:"ssl,omitempty"`
|
|
InsecureSkipVerify bool `yaml:"insecure_skip_verify,omitempty"`
|
|
Username string `yaml:"username,omitempty"`
|
|
Password string `yaml:"password,omitempty"`
|
|
From string `yaml:"from,omitempty"`
|
|
To string `yaml:"to,omitempty"`
|
|
}
|