dnspod

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnsPod added in v1.5.2

type DnsPod struct {
	SecretId  string `json:"secret_id,omitempty" yaml:"secret_id,omitempty"`
	SecretKey string `json:"secret_key,omitempty" yaml:"secret_key,omitempty"`
}

type DnsProvider

type DnsProvider struct {
	Client *dnspod.Client
	TTL    uint64
	DnsPod
}

func New

func New(ttl uint64, conf DnsPod, Http http.RoundTripper) (*DnsProvider, error)

func (DnsProvider) SetDomainRecord

func (a DnsProvider) SetDomainRecord(domain, ip string) error

Jump to

Keyboard shortcuts

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