Documentation ¶
Index ¶
- func A() *optionType
- func AAAA() *optionType
- func Aliyun() *optionProvider
- func CNAME() *optionType
- func Provider(provider provider) *optionProvider
- func Secret(ak string, sk string) *optionSecret
- func TTL(ttl time.Duration) *optionTtl
- func TencentCloud() *optionProvider
- func Ttl(ttl time.Duration) *optionTtl
- type Client
- func (c *Client) Add(ctx context.Context, domain string, subdomain string, value string, ...) (err error)
- func (c *Client) Delete(ctx context.Context, record *Record, opts ...option) (err error)
- func (c *Client) Get(ctx context.Context, domain string, subdomain string, opts ...option) (record *Record, err error)
- func (c *Client) Resolve(ctx context.Context, domain string, subdomain string, value string, ...) (original string, do bool, err error)
- func (c *Client) Update(ctx context.Context, record *Record, value string, opts ...option) (err error)
- type Options
- type Record
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 客户端
Click to show internal directories.
Click to hide internal directories.