internal

package
v4.12.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

Client the do.de API client.

func NewClient

func NewClient(token string) *Client

NewClient Creates a new Client.

func (Client) UpdateTxtRecord

func (c Client) UpdateTxtRecord(ctx context.Context, fqdn, txt string, clear bool) error

UpdateTxtRecord Update the domains TXT record To update the TXT record we just need to make one simple get request.

Jump to

Keyboard shortcuts

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