Files
diun/internal/model/mail.go
2019-06-04 22:11:54 +02:00

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"`
}