alidns

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: 20 Imported by: 0

Documentation

Index

Constants

View Source
const Name = `AliDNS`

Variables

This section is empty.

Functions

func AliyunSigner

func AliyunSigner(accessKeyID, accessSecret string, params *url.Values)

AliyunSigner AliyunSigner

func HmacSign

func HmacSign(signMethod string, httpMethod string, appKeySecret string, vals url.Values) (signature []byte)

func HmacSignToB64

func HmacSignToB64(signMethod string, httpMethod string, appKeySecret string, vals url.Values) (signature string)

func New

func New() interfaces.Updater

Types

type Alidns

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

https://help.aliyun.com/document_detail/29776.html?spm=a2c4g.11186623.6.672.715a45caji9dMA Alidns Alidns

func (*Alidns) ConfigItems

func (*Alidns) ConfigItems() echo.KVList

func (*Alidns) Description

func (*Alidns) Description() string

func (*Alidns) Init

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

Init 初始化

func (*Alidns) LineTypeURL

func (*Alidns) LineTypeURL() string

func (*Alidns) Name

func (*Alidns) Name() string

func (*Alidns) SignUpURL

func (*Alidns) SignUpURL() string

func (*Alidns) Support added in v3.6.1

func (*Alidns) Support() dnsdomain.Support

func (*Alidns) Update

func (ali *Alidns) Update(ctx context.Context, recordType string, ipAddr string) error

type AlidnsResp

type AlidnsResp struct {
	RecordID  string
	RequestID string
}

AlidnsResp 修改/添加返回结果

type AlidnsSubDomainRecords

type AlidnsSubDomainRecords struct {
	TotalCount    int
	DomainRecords struct {
		Record []struct {
			DomainName string
			RecordID   string
			Value      string
			Line       string
		}
	}
}

AlidnsSubDomainRecords 记录

Jump to

Keyboard shortcuts

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