domeneshop

package
v0.0.0-...-89564b7 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func New

func New(data json.RawMessage, domain, owner string,
	ipVersion ipversion.IPVersion, ipv6Suffix netip.Prefix) (
	provider *Provider, err error,
)

func (*Provider) BuildDomainName

func (p *Provider) BuildDomainName() string

func (*Provider) Domain

func (p *Provider) Domain() string

func (*Provider) HTML

func (p *Provider) HTML() models.HTMLRow

func (*Provider) IPVersion

func (p *Provider) IPVersion() ipversion.IPVersion

func (*Provider) IPv6Suffix

func (p *Provider) IPv6Suffix() netip.Prefix

func (*Provider) Owner

func (p *Provider) Owner() string

func (*Provider) Proxied

func (p *Provider) Proxied() bool

func (*Provider) String

func (p *Provider) String() string

func (*Provider) Update

func (p *Provider) Update(ctx context.Context, client *http.Client, ip netip.Addr) (newIP netip.Addr, err error)

Link to documentation: https://api.domeneshop.no/docs/#tag/ddns/paths/~1dyndns~1update/get

Jump to

Keyboard shortcuts

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