Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
func ExampleConfig ¶
func ExampleConfig() []*Config
type SMTPConfig ¶
type SMTPConfig struct { Username string `yml:"username"` Password string `yml:"password"` From string `yml:"from"` Server string `yml:"Server"` }
func SMTPExampleConfig ¶
func SMTPExampleConfig() *SMTPConfig
func (*SMTPConfig) Send ¶
func (cfg *SMTPConfig) Send(targets []string, message string)
type WebHookConfig ¶
func WebHookExampleConfig ¶
func WebHookExampleConfig() *WebHookConfig
func (*WebHookConfig) Send ¶
func (cfg *WebHookConfig) Send(targets []string, message string)
Click to show internal directories.
Click to hide internal directories.