Documentation
¶
Index ¶
- Variables
- func CheckIPv4Format(ip string) error
- func GetConfigFilePath() (string, error)
- func GetIPv4() (string, error)
- func GetIPv4ByUrl(url string) (string, error)
- func SendEmail(subject string, content string) error
- func SendIPChangeEmail(newIP string, oldIP string) error
- func SendStartupEmail(newIP string) error
- type IConfig
- type IEmailConfig
- type IIPConfig
- type ILogger
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = ILogger{}
Functions ¶
func CheckIPv4Format ¶ added in v0.1.2
func GetConfigFilePath ¶
func GetIPv4ByUrl ¶
func SendIPChangeEmail ¶ added in v0.1.2
func SendStartupEmail ¶ added in v0.1.2
Types ¶
type IConfig ¶
type IConfig struct {
Ip IIPConfig `yaml:"ip"`
Email IEmailConfig `yaml:"email"`
}
type IEmailConfig ¶
Click to show internal directories.
Click to hide internal directories.