nameserver

package
v0.0.0-...-c5d1e48 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, creator Creator)

Types

type Creator

type Creator func(token string) (Nameserver, error)

type Nameserver

type Nameserver interface {
	Assign(ctx context.Context, domain string, ip string) error
	RemoveRecords(ctx context.Context, domain string) error
}

func NewNameserver

func NewNameserver(name string, token string) (ns Nameserver, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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