Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIErrorResponse ¶
type APIErrorResponse struct {
Error *APIError `json:"error"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client Vercel client.
func (*Client) CreateRecord ¶
func (c *Client) CreateRecord(ctx context.Context, zone string, record Record) (*CreateRecordResponse, error)
CreateRecord creates a DNS record. https://vercel.com/docs/rest-api#endpoints/dns/create-a-dns-record
func (*Client) DeleteRecord ¶
DeleteRecord deletes a DNS record. https://vercel.com/docs/rest-api#endpoints/dns/delete-a-dns-record
type CreateRecordResponse ¶
CreateRecordResponse represents a response from Vercel's API after making a DNS record.
Click to show internal directories.
Click to hide internal directories.