Versions in this module Expand all Collapse all v4 v4.18.1 Sep 18, 2024 Changes in this version + const StatusError + const StatusOK + type AddRecRequest struct + Host string + SiteID int + Text string + Type string + Value string + type AddRecResponse struct + Result RecResult + Text string + type Client struct + HTTPClient *http.Client + func NewClient(baseURL *url.URL, login string, password string) *Client + func (c Client) AddRecord(ctx context.Context, siteID int, host, value string) (int, error) + func (c Client) DeleteRecord(ctx context.Context, recordID int) (int, error) + func (c Client) GetSite(ctx context.Context, domain string) (int, error) + type DNSInputType struct + AddRec []AddRecRequest + DelRec []DelRecRequest + Text string + type DNSResponseType struct + AddRec []AddRecResponse + DelRec []DelRecResponse + Text string + type DNSSelectionFilterType struct + ID int + Text string + type DelRecRequest struct + Filter DNSSelectionFilterType + Text string + type DelRecResponse struct + Result RecResult + Text string + type RecResult struct + ErrCode string + ErrText string + ID int + Status string + Text string + func (r RecResult) Error() string + type RequestPacketType struct + DNS *DNSInputType + Site *SiteTypeRequest + Text string + XMLName xml.Name + type ResponsePacketType struct + DNS DNSResponseType + Site SiteResponseType + System *System + Text string + XMLName xml.Name + type SiteDatasetType struct + GenInfo *SiteGenInfoType + Text string + type SiteFilterType struct + Name string + Text string + type SiteGenInfoType struct + ASCIIName string + CrDate string + DNSIPAddress string + Description string + GUID string + HType string + Name string + RealSize string + SbSiteUUID string + Status string + Text string + WebspaceGUID string + WebspaceID string + type SiteGetRequest struct + Dataset SiteDatasetType + Filter *SiteFilterType + Text string + type SiteGetResponse struct + Result *SiteResult + Text string + type SiteResponseType struct + Get SiteGetResponse + Text string + type SiteResult struct + Data *SiteResultData + ErrCode string + ErrText string + FilterID string + ID int + Status string + Text string + func (s SiteResult) Error() string + type SiteResultData struct + GenInfo *SiteGenInfoType + Text string + type SiteTypeRequest struct + Get SiteGetRequest + Text string + type System struct + ErrCode string + ErrText string + Status string + Text string + func (s System) Error() string