cfddns

package
v0.0.0-...-8a3cf16 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_IP_SOURCE    = "https://api.ipify.org"
	DEFAULT_HTTP_TIMEOUT = 3 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DDNS

type DDNS struct {
	// contains filtered or unexported fields
}

func New

func New(apiToken string) (*DDNS, error)

func (*DDNS) Reconcile

func (d *DDNS) Reconcile(ctx context.Context, domain string, zone string, proxied bool) error

type RecordType

type RecordType string
const Record_A RecordType = "A"
const Record_AAAA RecordType = "AAAA"
const Record_CNAME RecordType = "CNAME"

Jump to

Keyboard shortcuts

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