ddns

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetAccept

func SetAccept(request *http.Request, acceptContent string)

func SetAuthBearer

func SetAuthBearer(request *http.Request, token string)

func SetAuthSSOKey

func SetAuthSSOKey(request *http.Request, key, secret string)

func SetContentType

func SetContentType(request *http.Request, contentType string)

func SetOauth

func SetOauth(request *http.Request, value string)

func SetUserAgent

func SetUserAgent(request *http.Request)

func SetXFilter

func SetXFilter(request *http.Request, value string)

Types

type GoDaddy

type GoDaddy struct {
	Host    string `json:"host"`
	Key     string `json:"key"`
	Secret  string `json:"secret"`
	Domain  string `json:"domain"`
	IPV4    string `json:"ipv_4"`
	IPV6    string `json:"ipv_6"`
	ApiHost string `json:"api_host"`
}

func (*GoDaddy) Update

func (g *GoDaddy) Update() string

type GoDaddyService

type GoDaddyService interface {
	Update(ctx context.Context, client *http.Client)
}

Jump to

Keyboard shortcuts

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