Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteRowRequest ¶ added in v1.1.0
type ErrorResponse ¶ added in v0.8.2
type ErrorResponse struct {
Error string `json:"error"`
}
type RecordType ¶ added in v1.0.0
type RecordType string
const ( A RecordType = "A" CNAME RecordType = "CNAME" MX RecordType = "MX" TXT RecordType = "TXT" NS RecordType = "NS" SRV RecordType = "SRV" AAAA RecordType = "AAAA" CAA RecordType = "CAA" NAPTR RecordType = "NAPTR" TLSA RecordType = "TLSA" SSHFP RecordType = "SSHFP" )
type SaveRowRequest ¶
type SaveRowRequest struct { Subdomain string `json:"subdomain" binding:"required"` Data string `json:"data" binding:"required"` Type *RecordType `json:"type,omitempty" default:"A"` TTL *int `json:"ttl,omitempty" default:"3600"` Autocommit *bool `json:"autocommit,omitempty" default:"false"` }
Click to show internal directories.
Click to hide internal directories.