Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintGreen ¶ added in v0.0.16
func PrintGreen(msg string)
func PrintYellow ¶ added in v0.2.19
func PrintYellow(msg string)
Types ¶
type DiscordHook ¶ added in v0.1.17
type DiscordHook struct {
Url string
}
func NewDiscordHook ¶ added in v0.1.17
func NewDiscordHook(url string) *DiscordHook
func (*DiscordHook) Send ¶ added in v0.1.17
func (hook *DiscordHook) Send(content string) error
type Mailer ¶ added in v0.1.2
type Mailer struct { Account string Psw string SmtpHost string SmtpPort int //set body type, 'text/plain' 'text/html'..., default is 'text/plain' ContentType string }
func (*Mailer) SetContentType ¶ added in v0.2.45
set body type, 'text/plain' 'text/html'...
Click to show internal directories.
Click to hide internal directories.