Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Messages = make(map[string]Message, 0)
Functions ¶
Types ¶
type Bark ¶
type Bark struct {
// contains filtered or unexported fields
}
Bark 用于ios推送
func (Bark) Send ¶
func (b Bark) Send(messageBody MessageBody)
type Mail ¶
type Mail struct {
Host string `json:"host" yaml:"host"`
Protocol string `json:"protocol" yaml:"protocol"`
Port int `json:"port" yaml:"port"`
Username string `json:"username" yaml:"username"`
Password string `json:"password" yaml:"password"`
FromName string `json:"from_name" yaml:"from_name"`
To string `json:"to" yaml:"to"`
}
func (Mail) Send ¶
func (m Mail) Send(message MessageBody)
type MessageBody ¶
Click to show internal directories.
Click to hide internal directories.