package
0.0.0-20240730142151-1c554262541e
Repository: https://github.com/datahearth/ddnsclient.git
Documentation: pkg.go.dev

# Functions

LoadConfig will read the yaml config from the viper config path.
SetupLogger setup the root logger.

# Variables

No description provided by the author
ErrCreateNewRequest is thrown when http request creation failed.
ErrGetServerIP is thrown when HTTP can't contact the web-ip service.
ErrInvalidName is thrown when provider name was not provided.
ErrInvalidURL is thrown when user does not provide a URL and it does not exist in default urls.
ErrIpLength is thrown when subdomain no or multiples remote IP address.
ErrNilConfig is thrown when an empty config is provided.
ErrNilLogger is thrown when the parameter logger is nil.
ErrNilWatcher is thrown when no watcher config was provided.
ErrParseHTTPBody is thrown when the HTTP service can't parse the body response.
ErrSplitAddr is thrown when the remote address can't be splitted.
ErrWrongStatusCode is thrown when the response status code isn't a 200.

# Structs

** CONFIGURATION ** //.
No description provided by the author
No description provided by the author
No description provided by the author