ali

package
v0.0.0-...-a84d0b1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	DNS *alidns.Client
}

func New

func New(key, secret string) (*Client, error)

func (*Client) Add

func (c *Client) Add(domain, subDomain, kind, value string) (*alidns.AddDomainRecordResponse, error)

func (*Client) Get

func (*Client) Save

func (c *Client) Save(subDomain, domain, value string) error

域名存在则修改,域名不存在则创建

func (*Client) Update

func (c *Client) Update(RecordId, subDomain, kind, value string) (*alidns.UpdateDomainRecordResponse, error)

Jump to

Keyboard shortcuts

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