ddns

package module
v0.0.0-...-a746813 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicDNS

type DynamicDNS struct {
	API *cloudflare.API

	Record      cloudflare.DNSRecord
	IPLookupURL string
	// contains filtered or unexported fields
}

func NewDynamicDNS

func NewDynamicDNS(apiKey, hostname, domain, ipLookupURL, refreshInterval string) (*DynamicDNS, error)

func NewDynamicDNSFromEnv

func NewDynamicDNSFromEnv() *DynamicDNS

func (DynamicDNS) Context

func (ddns DynamicDNS) Context() context.Context

func (DynamicDNS) Refresh

func (ddns DynamicDNS) Refresh() error

func (DynamicDNS) Start

func (ddns DynamicDNS) Start()

func (DynamicDNS) Stop

func (ddns DynamicDNS) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL