cloudflare

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 9 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 int
}

type Updater

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

func NewUpdater

func NewUpdater(log *slog.Logger) *Updater

func (*Updater) InitWithKey

func (u *Updater) InitWithKey(email string, key string) error

func (*Updater) InitWithToken

func (u *Updater) InitWithToken(token string) error

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