porkbun

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 7 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
	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