internal

package
v4.20.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 6 Imported by: 0

README

SelfHost.(de|eu)

SelfHost doesn't provide an official API documentation and there are no endpoints for create a TXT record or delete a TXT record.

More

The documentation found at https://kirk.selfhost.de/cgi-bin/selfhost?p=document&name=api (PDF) describes the DynDNS/ddns API endpoint and is not used by our client.

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 SelfHost client.

func NewClient

func NewClient(username, password string) *Client

NewClient Creates a new Client.

func (*Client) UpdateTXTRecord

func (c *Client) UpdateTXTRecord(ctx context.Context, recordID, content string) error

UpdateTXTRecord updates content of an existing TXT record.

Jump to

Keyboard shortcuts

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