Documentation ¶
Index ¶
Constants ¶
View Source
const (
CFToken = "CF_API_TOKEN"
)
Variables ¶
This section is empty.
Functions ¶
func IsCurrentEndpoint ¶
IsCurrentEndpoint checks if the host's DNS record(s) match an IP provided. Do not want 'Not Found' errors returned
Types ¶
type Cloudflare ¶
func (*Cloudflare) EnsureRecordA ¶
func (c *Cloudflare) EnsureRecordA(ctx context.Context, host, ipAddr string) error
type Config ¶
type Config struct { Aws AWS `json:"aws,omitempty"` Cf Cloudflare `json:"cloudflare,omitempty"` }
type Nameserver ¶
func NewNameserver ¶
func NewNameserver(nsType string, c Config) (Nameserver, error)
Click to show internal directories.
Click to hide internal directories.