cloudflare

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloudflare added in v1.5.2

type Cloudflare struct {
	Zone  string `json:"zone" yaml:"zone"`
	Token string `json:"token" yaml:"token"`
}

type DnsProvider

type DnsProvider struct {
	Api          *cloudflare.API
	TTL          int
	ZoneResource *cloudflare.ResourceContainer
	Cloudflare
}

func New

func New(ttl int, conf Cloudflare, Http *http.Client) (*DnsProvider, error)

func (DnsProvider) SetDomainRecord

func (a DnsProvider) SetDomainRecord(domain, ip string) error

Jump to

Keyboard shortcuts

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