cloudflare

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	DnsRecord string
	CfZoneId  string
	IpVersion uint8
	// contains filtered or unexported fields
}

type Updater

type Updater struct {
	In chan *net.IP
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(log *slog.Logger, subsystem string) *Updater

func (*Updater) InitWithKey

func (u *Updater) InitWithKey(email string, key string) (error, []*util.UpdateStatus)

func (*Updater) InitWithToken

func (u *Updater) InitWithToken(token string) (error, []*util.UpdateStatus)

func (*Updater) SetIPv4Zones

func (u *Updater) SetIPv4Zones(zones string)

func (*Updater) SetIPv6Zones

func (u *Updater) SetIPv6Zones(zones string)

func (*Updater) StartWorker

func (u *Updater) StartWorker()

Jump to

Keyboard shortcuts

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