cloudflaredns

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_ELAPSED_TIME = 10 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloudflare

type Cloudflare struct {
	Client *cloudflare.API
}

func NewClient

func NewClient(apiToken string) (cf *Cloudflare, err error)

func (*Cloudflare) DeleteDnsRecord

func (c *Cloudflare) DeleteDnsRecord(recordId, domainName string) (err error)

func (*Cloudflare) UpsertDNSRecord

func (c *Cloudflare) UpsertDNSRecord(domainName, token string) (dnsRecordID string, err error)

Jump to

Keyboard shortcuts

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