Versions in this module Expand all Collapse all v3 v3.9.0 Sep 1, 2020 v3.8.0 Jul 2, 2020 v3.7.0 May 11, 2020 v3.6.0 Apr 24, 2020 Changes in this version + const Contains + const EndsWith + const Exact + const StartsWith type APIError + StatusCode int + type BadRequest struct + func (e *BadRequest) Unwrap() error type DomainService + 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 TxtRecordService + func (s *TxtRecordService) Search(domainID int64, filter searchFilter, value string) ([]Record, error) v3.5.0 Mar 15, 2020 v3.4.0 Feb 25, 2020 Changes in this version + type APIError struct + Errors []string + func (a APIError) Error() string + 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) GetID(domainName string) (int64, 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) Update(domainID, recordID int64, record RecordRequest) (*SuccessMessage, error) Other modules containing this package github.com/go-acme/lego/v4