Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Host string `bson:"host" json:"host" env:"K_EMAIL_HOST"` AuthUserName string `bson:"username" json:"username" env:"K_EMAIL_USERNAME"` AuthPassword string `bson:"password" json:"password,omitempty" env:"K_EMAIL_PASSWORD"` AuthSecret string `bson:"secret" json:"secret,omitempty" env:"K_EMAIL_SECRET"` AuthIdentity string `bson:"identity" json:"identity,omitempty" env:"K_EMAIL_IDENTITY"` Hello string `bson:"hello" json:"hello,omitempty" env:"K_EMAIL_HELLO"` From string `bson:"from" json:"from,omitempty" env:"K_EMAIL_FROM"` SkipAuth bool `bson:"skip_auth" json:"skip_auth" env:"K_EMAIL_SKIP_AUTH"` RequireTLS bool `bson:"require_tls" json:"require_tls" env:"K_EMAIL_REQUIRE_TLS"` TLSConfig *tls.Config `bson:"tls_config" json:"tls_config"` }
Config todo
type TestSendRequest ¶
type TestSendRequest struct { *notify.SendMailRequest *Config }
TestSendRequest todo
func NewDeaultTestSendRequest ¶
func NewDeaultTestSendRequest() *TestSendRequest
NewDeaultTestSendRequest todo
Click to show internal directories.
Click to hide internal directories.