dnspod

package
v3.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Name = `DNSPod`

Variables

This section is empty.

Functions

func New

func New() interfaces.Updater

Types

type Dnspod

type Dnspod struct {
	Domains []*dnsdomain.Domain
	TTL     int
	// contains filtered or unexported fields
}

https://docs.dnspod.cn/api/5f562ae4e75cf42d25bf689e/ Dnspod 腾讯云dns实现

func (*Dnspod) ConfigItems

func (*Dnspod) ConfigItems() echo.KVList

func (*Dnspod) Description

func (*Dnspod) Description() string

func (*Dnspod) Init

func (dnspod *Dnspod) Init(settings echo.H, domains []*dnsdomain.Domain) error

Init 初始化

func (*Dnspod) LineTypeURL

func (*Dnspod) LineTypeURL() string

func (*Dnspod) Name

func (*Dnspod) Name() string

func (*Dnspod) SignUpURL

func (*Dnspod) SignUpURL() string

func (*Dnspod) Support added in v3.6.1

func (*Dnspod) Support() dnsdomain.Support

func (*Dnspod) Update

func (dnspod *Dnspod) Update(ctx context.Context, recordType string, ipAddr string) error

type DnspodRecordListResp

type DnspodRecordListResp struct {
	DnspodStatus
	Records []struct {
		ID      string
		Name    string
		Type    string
		Value   string
		Enabled string
	}
}

DnspodRecordListResp recordListAPI结果

type DnspodStatus

type DnspodStatus struct {
	Status struct {
		Code    string
		Message string
	}
}

DnspodStatus DnspodStatus

Jump to

Keyboard shortcuts

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