package
Version:
v0.0.0-...-04f4181
Opens a new window with list of versions in this module.
Published: Nov 20, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Domain config
Telegram config
GmailAPI config
StartInit domain and alert from Config.json.example
type AdminPanelCredentials struct {
Username string `json:"username"`
Password string `json:"password"`
}
type DBCredentialsSetting struct {
Name string `json:"name"`
Password string `json:"password"`
}
type DiscordAlertSetting struct {
WebHook string `json:"WebHook"`
Enabled bool `json:"enabled"`
LengthAlert string `json:"length_alert"`
}
type Domain struct {
Name string `json:"name"`
IPV4 string `json:"ipv4"`
NonExistingIPV4 string `json:"non_existing_ipv4"`
IPV6 string `json:"ipv6"`
NonExistingIPV6 string `json:"non_existing_ipv6"`
AcmeTxtChallenge string `json:"acme_txt_challenge"`
}
type EmailAlertSetting struct {
To string `json:"to"`
Enabled bool `json:"enabled"`
}
type HttpsConfig struct {
CertFile string `json:"cert_file"`
KeyFile string `json:"key_file"`
}
type TelegramSetting struct {
Token string `json:"token"`
ChatID int64 `json:"chat_id"`
LengthAlert string `json:"length_alert"`
Enabled bool `json:"enabled"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.