Documentation
¶
Index ¶
- Constants
- type Config
- func (config *Config) CreateConfig() error
- func (config *Config) GetConfig() error
- func (config *Config) IfConfigIsExist() (bool, error)
- func (config *Config) MkConfigDir() error
- func (config *Config) SetDomain(domain string)
- func (config *Config) SetEmail(email string)
- func (config *Config) SetRecord(record *ker.Record)
- func (config *Config) SetToken(token string)
- func (config *Config) WriteConfig() error
- type Options
Constants ¶
View Source
const DefaultFilename = "ddns_config"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Email string Domain string Token string Record *ker.Record // contains filtered or unexported fields }
func (*Config) CreateConfig ¶
func (*Config) IfConfigIsExist ¶
func (*Config) MkConfigDir ¶
func (*Config) WriteConfig ¶
Click to show internal directories.
Click to hide internal directories.