porkbun

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const A = "A"

Variables

This section is empty.

Functions

func NewBackend

func NewBackend(cfg *config.Porkbun) (dnsbackend.Backend, error)

Types

type PBClient

type PBClient struct {
	Client *porkbun.Client
	Domain string
	Name   string
	TTL    string
	State  map[string]string // IP -> Porkbun ID
}

func (*PBClient) WriteRecords

func (p *PBClient) WriteRecords(newRecords sets.String) error

How to handle the bunch of errors ??? Currently just loggin them.

Jump to

Keyboard shortcuts

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