Versions in this module Expand all Collapse all v0 v0.4.0 Jun 8, 2026 Changes in this version + const GetFeatureQuery + const GetPageQuery + const GetRequirementQuery + const SearchDocumentsQuery + type Client struct + func NewClient(subdomain, apiKey string) *Client + func NewClientWithHTTP(subdomain, apiKey string, httpClient *http.Client) *Client + func (c *Client) Do(ctx context.Context, req *Request) (*Response, error) + func (c *Client) Endpoint() string + func (c *Client) Query(ctx context.Context, query string, variables map[string]any, result any) error + func (c *Client) SetEndpoint(endpoint string) + type Description struct + MarkdownBody string + type DocumentNode struct + Name string + SearchableID string + SearchableType string + URL string + type Error struct + Extensions any + Message string + Path []string + func (e Error) Error() string + type Feature struct + Description *Description + Name string + type FeatureResponse struct + Feature *Feature + type Page struct + Children []PageRef + Description *Description + Name string + Parent *PageRef + type PageRef struct + Name string + ReferenceNum string + type PageResponse struct + Page *Page + type Request struct + Query string + Variables map[string]any + type Requirement struct + Description *Description + Name string + type RequirementResponse struct + Requirement *Requirement + type Response struct + Data json.RawMessage + Errors []Error + type SearchDocumentsResponse struct + SearchDocuments SearchResults + type SearchResults struct + CurrentPage int + IsLastPage bool + Nodes []DocumentNode + TotalCount int + TotalPages int