Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootPath = "/etc/cloudflare-ddns/"
View Source
var RootSystemdPath = "/etc/systemd/system/"
Functions ¶
func GetOutboundIP ¶
Types ¶
type Cloudflare ¶
type Config ¶
type Config struct {
Title string `toml:"title" json:"title"`
Cloudflare Cloudflare `toml:"cloudflare" json:"cloudflare"`
}
func (*Config) IsConfigFileExist ¶
func (*Config) IsSystemdServiceExist ¶
type Core ¶
type Core struct {
Config *Config
API *cloudflare.API
}
Click to show internal directories.
Click to hide internal directories.