Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailAlert ¶
type EmailAlert struct { Host string Port int From string Password string To string Others string Tos []string CCs []string Interval int64 }
func (*EmailAlert) Init ¶
func (ep *EmailAlert) Init() error
func (*EmailAlert) Send ¶
func (ep *EmailAlert) Send(subject, body, name string) error
Click to show internal directories.
Click to hide internal directories.