Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoPublicIPHTTPProvider = errors.New("no public IP HTTP provider specified") ErrURLIsNotValidHTTPS = errors.New("URL is not valid or not HTTPS") )
View Source
var ( ErrAddressHostEmpty = errors.New("address host is empty") ErrAddressPortEmpty = errors.New("address port is empty") ErrTimeoutTooLow = errors.New("timeout is too low") )
View Source
var ErrFetcherNotValid = errors.New("fetcher is not valid")
View Source
var (
ErrNoPublicIPDNSProvider = errors.New("no public IP DNS provider specified")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Client Client Update Update PubIP PubIP Resolver Resolver Server Server Health Health Paths Paths Backup Backup Logger Logger Shoutrrr Shoutrrr }
func (*Config) SetDefaults ¶
func (c *Config) SetDefaults()
type Health ¶
func (*Health) SetDefaults ¶
func (h *Health) SetDefaults()
type PubIP ¶
type PubIP struct { HTTPEnabled *bool HTTPIPProviders []string HTTPIPv4Providers []string HTTPIPv6Providers []string DNSEnabled *bool DNSProviders []string DNSTimeout time.Duration }
func (*PubIP) ToDNSPOptions ¶
ToDNSPOptions assumes the settings have been validated.
func (*PubIP) ToHTTPOptions ¶
ToHTTPOptions assumes the settings have been validated.
type Resolver ¶
func (Resolver) ToLinesNode ¶
type Shoutrrr ¶
func (Shoutrrr) ToLinesNode ¶
Click to show internal directories.
Click to hide internal directories.