Categorygithub.com/delphinus/goddns
modulepackage
1.1.2
Repository: https://github.com/delphinus/goddns.git
Documentation: pkg.go.dev

# README

goddns

Dynamic DNS Updater for Google Domains

# Functions

Action is the main logic for the app.
Address detects my IP address.
Before sets up logger.
LoadConfig loads config from TOML.
NewApp creates app.
NewCache creates Cache.
NewEnv creates the default env settings.
NewResult parses bytes and make results.
NewUpdater creates Updater.
NoNeedToUpdate returns a result that means it does not need to be updated.
Start starts the main logic.

# Constants

Version is a version of this app.

# Structs

Caches is an implementation of Cache.
Configs is a struct to define configuration of the app.
Domain is a struct to store setting for a domain.
Env is used to switch contexts in testing.
Results is a implementation of Result.
Updaters is an implementation of Updater.

# Interfaces

Cache is an interface to deal with caches.
Result is an interface to deal with results.
Updater is an interface to update.