Documentation ¶
Index ¶
Constants ¶
View Source
const PORKBUN_API_BASE = "https://porkbun.com/api/json/v3"
View Source
const PORKBUN_DNS_BASE = PORKBUN_API_BASE + "/dns"
View Source
const PORKBUN_DNS_CREATE = PORKBUN_DNS_BASE + "/create/%s"
View Source
const PORKBUN_DNS_DELETE = PORKBUN_DNS_BASE + "/delete/%s/%s"
View Source
const PORKBUN_DNS_EDIT = PORKBUN_DNS_BASE + "/edit/%s/%s"
View Source
const PORKBUN_DNS_RETRIEVE = PORKBUN_DNS_BASE + "/retrieve/%s"
View Source
const PORKBUN_HTTP_METHOD = "POST"
Currently porkbun uses only POST methods for all APIs
View Source
const STATUS_SUCCESS = "SUCCESS"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateRecord ¶
Main function land
func (*Client) EditRecord ¶
Click to show internal directories.
Click to hide internal directories.