Versions in this module Expand all Collapse all v3 v3.8.1 Jun 6, 2020 v3.8.0 Jun 5, 2020 Changes in this version + const Contains + const EndsWith + const Exact + const StartsWith + type APIError struct + Errors []string + StatusCode int + func (a APIError) Error() string + type BadRequest struct + func (e *BadRequest) Unwrap() error + type Client struct + BaseURL string + Domains *DomainService + HTTPClient *http.Client + TxtRecords *TxtRecordService + func NewClient(httpClient *http.Client) *Client + type Domain struct + ID int64 + Name string + Status string + TypeID int64 + Version int64 + type DomainService service + func (s *DomainService) GetAll(params *PaginationParameters) ([]Domain, error) + func (s *DomainService) GetByName(domainName string) (Domain, error) + func (s *DomainService) Search(filter searchFilter, value string) ([]Domain, error) + type NotFound struct + func (e *NotFound) Unwrap() error + type PaginationParameters struct + Max int + Offset int + Order string + Sort string + type Record struct + GtdRegion int + ID int64 + ModifiedTs int64 + Name string + NoAnswer bool + Note string + Parent string + ParentID int + RecordOption string + RecordType string + RoundRobin []RecordValue + Source string + TTL int + Type string + Value []RecordValue + type RecordRequest struct + Name string + RoundRobin []RecordValue + TTL int + type RecordValue struct + DisableFlag bool + Value string + type SuccessMessage struct + Success string + type TokenTransport struct + Transport http.RoundTripper + func NewTokenTransport(apiKey, secretKey string) (*TokenTransport, error) + func (t *TokenTransport) Client() *http.Client + func (t *TokenTransport) RoundTrip(req *http.Request) (*http.Response, error) + func (t *TokenTransport) Wrap(client *http.Client) *http.Client + type TxtRecordService service + func (s *TxtRecordService) Create(domainID int64, record RecordRequest) ([]Record, error) + func (s *TxtRecordService) Delete(domainID, recordID int64) (*SuccessMessage, error) + func (s *TxtRecordService) Get(domainID, recordID int64) (*Record, error) + func (s *TxtRecordService) GetAll(domainID int64) ([]Record, error) + func (s *TxtRecordService) Search(domainID int64, filter searchFilter, value string) ([]Record, error) + func (s *TxtRecordService) Update(domainID, recordID int64, record RecordRequest) (*SuccessMessage, error) v3.7.1-cert-manager Jun 5, 2020