Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client the Servercow client.
func (*Client) CreateUpdateRecord ¶
func (c *Client) CreateUpdateRecord(ctx context.Context, domain string, data Record) (*Message, error)
CreateUpdateRecord creates or updates a record.
func (*Client) DeleteRecord ¶
DeleteRecord deletes a record.
type Message ¶
type Message struct { Message string `json:"message,omitempty"` ErrorMsg string `json:"error,omitempty"` }
Message is the basic response representation. Can be an error.
Click to show internal directories.
Click to hide internal directories.