Documentation
¶
Overview ¶
Package notify allows sending of email and text messages.
Index ¶
Constants ¶
View Source
const ( ATT = "att" TMOBILE = "tmobile" VERIZON = "verizon" SPRINT = "sprint" )
Notify Constants
Variables ¶
View Source
var ( SenderConfigFilename = "notify-sender.yaml" RxConfigFilename = "notify-rx.yaml" )
Config Constants
Functions ¶
This section is empty.
Types ¶
type Notify ¶
type Notify struct {
// contains filtered or unexported fields
}
Notify can send emails to email or phone number recipients
type SenderConfig ¶
type SenderConfig struct { Host string `yaml:"host"` Port int `yaml:"port"` User string `yaml:"user"` Password string `yaml:"password"` }
SenderConfig contains parameters for notify sender
func NewSenderConfig ¶
func NewSenderConfig(configPath string) *SenderConfig
NewSenderConfig creates a new SenderConfig
Click to show internal directories.
Click to hide internal directories.