Versions in this module Expand all Collapse all v0 v0.1.0 Apr 21, 2026 v0.0.7 Apr 21, 2026 Changes in this version + func NewConsoleEventsRequest(server string) (*http.Request, error) + func NewGraphGoalsRequest(server string, params *GraphGoalsParams, body GraphGoalsJSONRequestBody) (*http.Request, error) + func NewGraphGoalsRequestWithBody(server string, params *GraphGoalsParams, contentType string, body io.Reader) (*http.Request, error) + func NewGraphNeighborsRequest(server string, params *GraphNeighborsParams, ...) (*http.Request, error) + func NewGraphNeighborsRequestWithBody(server string, params *GraphNeighborsParams, contentType string, ...) (*http.Request, error) + func NewGraphNeighboursRequest(server string, params *GraphNeighboursParams, ...) (*http.Request, error) + func NewGraphNeighboursRequestWithBody(server string, params *GraphNeighboursParams, contentType string, ...) (*http.Request, error) + func NewListDomainClassesRequest(server string, domain string) (*http.Request, error) + func NewListDomainsRequest(server string) (*http.Request, error) + func NewListGoalsRequest(server string, body ListGoalsJSONRequestBody) (*http.Request, error) + func NewListGoalsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewObjectsRequest(server string, params *ObjectsParams) (*http.Request, error) + func NewSetConfigRequest(server string, params *SetConfigParams) (*http.Request, error) + func NewSetConsoleRequest(server string, body SetConsoleJSONRequestBody) (*http.Request, error) + func NewSetConsoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + type Class = string + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) ConsoleEvents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GraphGoals(ctx context.Context, params *GraphGoalsParams, body GraphGoalsJSONRequestBody, ...) (*http.Response, error) + func (c *Client) GraphGoalsWithBody(ctx context.Context, params *GraphGoalsParams, contentType string, ...) (*http.Response, error) + func (c *Client) GraphNeighbors(ctx context.Context, params *GraphNeighborsParams, ...) (*http.Response, error) + func (c *Client) GraphNeighborsWithBody(ctx context.Context, params *GraphNeighborsParams, contentType string, ...) (*http.Response, error) + func (c *Client) GraphNeighbours(ctx context.Context, params *GraphNeighboursParams, ...) (*http.Response, error) + func (c *Client) GraphNeighboursWithBody(ctx context.Context, params *GraphNeighboursParams, contentType string, ...) (*http.Response, error) + func (c *Client) ListDomainClasses(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ListDomains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ListGoals(ctx context.Context, body ListGoalsJSONRequestBody, ...) (*http.Response, error) + func (c *Client) ListGoalsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) Objects(ctx context.Context, params *ObjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) SetConfig(ctx context.Context, params *SetConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) SetConsole(ctx context.Context, body SetConsoleJSONRequestBody, ...) (*http.Response, error) + func (c *Client) SetConsoleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + ConsoleEvents func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GraphGoals func(ctx context.Context, params *GraphGoalsParams, body GraphGoalsJSONRequestBody, ...) (*http.Response, error) + GraphGoalsWithBody func(ctx context.Context, params *GraphGoalsParams, contentType string, ...) (*http.Response, error) + GraphNeighbors func(ctx context.Context, params *GraphNeighborsParams, ...) (*http.Response, error) + GraphNeighborsWithBody func(ctx context.Context, params *GraphNeighborsParams, contentType string, ...) (*http.Response, error) + GraphNeighbours func(ctx context.Context, params *GraphNeighboursParams, ...) (*http.Response, error) + GraphNeighboursWithBody func(ctx context.Context, params *GraphNeighboursParams, contentType string, ...) (*http.Response, error) + ListDomainClasses func(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error) + ListDomains func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ListGoals func(ctx context.Context, body ListGoalsJSONRequestBody, ...) (*http.Response, error) + ListGoalsWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + Objects func(ctx context.Context, params *ObjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + SetConfig func(ctx context.Context, params *SetConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error) + SetConsole func(ctx context.Context, body SetConsoleJSONRequestBody, ...) (*http.Response, error) + SetConsoleWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) ConsoleEventsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConsoleEventsResponse, error) + func (c *ClientWithResponses) GraphGoalsWithBodyWithResponse(ctx context.Context, params *GraphGoalsParams, contentType string, ...) (*GraphGoalsResponse, error) + func (c *ClientWithResponses) GraphGoalsWithResponse(ctx context.Context, params *GraphGoalsParams, body GraphGoalsJSONRequestBody, ...) (*GraphGoalsResponse, error) + func (c *ClientWithResponses) GraphNeighborsWithBodyWithResponse(ctx context.Context, params *GraphNeighborsParams, contentType string, ...) (*GraphNeighborsResponse, error) + func (c *ClientWithResponses) GraphNeighborsWithResponse(ctx context.Context, params *GraphNeighborsParams, ...) (*GraphNeighborsResponse, error) + func (c *ClientWithResponses) GraphNeighboursWithBodyWithResponse(ctx context.Context, params *GraphNeighboursParams, contentType string, ...) (*GraphNeighboursResponse, error) + func (c *ClientWithResponses) GraphNeighboursWithResponse(ctx context.Context, params *GraphNeighboursParams, ...) (*GraphNeighboursResponse, error) + func (c *ClientWithResponses) ListDomainClassesWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*ListDomainClassesResponse, error) + func (c *ClientWithResponses) ListDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDomainsResponse, error) + func (c *ClientWithResponses) ListGoalsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ListGoalsResponse, error) + func (c *ClientWithResponses) ListGoalsWithResponse(ctx context.Context, body ListGoalsJSONRequestBody, ...) (*ListGoalsResponse, error) + func (c *ClientWithResponses) ObjectsWithResponse(ctx context.Context, params *ObjectsParams, reqEditors ...RequestEditorFn) (*ObjectsResponse, error) + func (c *ClientWithResponses) SetConfigWithResponse(ctx context.Context, params *SetConfigParams, reqEditors ...RequestEditorFn) (*SetConfigResponse, error) + func (c *ClientWithResponses) SetConsoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SetConsoleResponse, error) + func (c *ClientWithResponses) SetConsoleWithResponse(ctx context.Context, body SetConsoleJSONRequestBody, ...) (*SetConsoleResponse, error) + type ClientWithResponsesInterface interface + ConsoleEventsWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ConsoleEventsResponse, error) + GraphGoalsWithBodyWithResponse func(ctx context.Context, params *GraphGoalsParams, contentType string, ...) (*GraphGoalsResponse, error) + GraphGoalsWithResponse func(ctx context.Context, params *GraphGoalsParams, body GraphGoalsJSONRequestBody, ...) (*GraphGoalsResponse, error) + GraphNeighborsWithBodyWithResponse func(ctx context.Context, params *GraphNeighborsParams, contentType string, ...) (*GraphNeighborsResponse, error) + GraphNeighborsWithResponse func(ctx context.Context, params *GraphNeighborsParams, ...) (*GraphNeighborsResponse, error) + GraphNeighboursWithBodyWithResponse func(ctx context.Context, params *GraphNeighboursParams, contentType string, ...) (*GraphNeighboursResponse, error) + GraphNeighboursWithResponse func(ctx context.Context, params *GraphNeighboursParams, ...) (*GraphNeighboursResponse, error) + ListDomainClassesWithResponse func(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*ListDomainClassesResponse, error) + ListDomainsWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDomainsResponse, error) + ListGoalsWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*ListGoalsResponse, error) + ListGoalsWithResponse func(ctx context.Context, body ListGoalsJSONRequestBody, ...) (*ListGoalsResponse, error) + ObjectsWithResponse func(ctx context.Context, params *ObjectsParams, reqEditors ...RequestEditorFn) (*ObjectsResponse, error) + SetConfigWithResponse func(ctx context.Context, params *SetConfigParams, reqEditors ...RequestEditorFn) (*SetConfigResponse, error) + SetConsoleWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*SetConsoleResponse, error) + SetConsoleWithResponse func(ctx context.Context, body SetConsoleJSONRequestBody, ...) (*SetConsoleResponse, error) + type Console struct + Search *Search + View Query + type ConsoleEventsResponse struct + Body []byte + HTTPResponse *http.Response + func ParseConsoleEventsResponse(rsp *http.Response) (*ConsoleEventsResponse, error) + func (r ConsoleEventsResponse) Status() string + func (r ConsoleEventsResponse) StatusCode() int + type Constraint struct + End *time.Time + Limit *int + Start *time.Time + type Domain struct + Description string + Name string + Stores []Store + type Edge struct + Goal Class + Rules []Rule + Start Class + type Error struct + Error string + type Goals struct + Goals []Class + Start Start + type Graph struct + Edges []Edge + Nodes []Node + type GraphGoalsJSONRequestBody = Goals + type GraphGoalsParams struct + Options *GraphOptions + type GraphGoalsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Graph + JSON400 *Error + JSON404 *Error + func ParseGraphGoalsResponse(rsp *http.Response) (*GraphGoalsResponse, error) + func (r GraphGoalsResponse) Status() string + func (r GraphGoalsResponse) StatusCode() int + type GraphNeighborsJSONRequestBody = Neighbors + type GraphNeighborsParams struct + Options *GraphOptions + type GraphNeighborsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Graph + JSON400 *Error + JSON404 *Error + func ParseGraphNeighborsResponse(rsp *http.Response) (*GraphNeighborsResponse, error) + func (r GraphNeighborsResponse) Status() string + func (r GraphNeighborsResponse) StatusCode() int + type GraphNeighboursJSONRequestBody = Neighbors + type GraphNeighboursParams struct + Options *GraphOptions + type GraphNeighboursResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Graph + JSON400 *Error + JSON404 *Error + func ParseGraphNeighboursResponse(rsp *http.Response) (*GraphNeighboursResponse, error) + func (r GraphNeighboursResponse) Status() string + func (r GraphNeighboursResponse) StatusCode() int + type GraphOptions struct + Errors *bool + Results *bool + Rules *bool + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type ListDomainClassesResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]string + JSON400 *Error + JSON404 *Error + func ParseListDomainClassesResponse(rsp *http.Response) (*ListDomainClassesResponse, error) + func (r ListDomainClassesResponse) Status() string + func (r ListDomainClassesResponse) StatusCode() int + type ListDomainsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]Domain + JSON400 *Error + JSON404 *Error + func ParseListDomainsResponse(rsp *http.Response) (*ListDomainsResponse, error) + func (r ListDomainsResponse) Status() string + func (r ListDomainsResponse) StatusCode() int + type ListGoalsJSONRequestBody = Goals + type ListGoalsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]Node + JSON400 *Error + JSON404 *Error + func ParseListGoalsResponse(rsp *http.Response) (*ListGoalsResponse, error) + func (r ListGoalsResponse) Status() string + func (r ListGoalsResponse) StatusCode() int + type Neighbors struct + Depth int + Start Start + type Node struct + Class string + Count *int + Queries []QueryCount + Result []Object + type Object = json.RawMessage + type ObjectsParams struct + Query Query + type ObjectsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]map[string]interface{} + JSON400 *Error + JSON404 *Error + func ParseObjectsResponse(rsp *http.Response) (*ObjectsResponse, error) + func (r ObjectsResponse) Status() string + func (r ObjectsResponse) StatusCode() int + type Query = string + type QueryCount struct + Count *int + Query Query + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type Rule struct + Name string + Queries []QueryCount + type Search struct + Goals *Goals + Neighbors *Neighbors + type SetConfigParams struct + Verbose *int + type SetConfigResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *map[string]interface{} + func ParseSetConfigResponse(rsp *http.Response) (*SetConfigResponse, error) + func (r SetConfigResponse) Status() string + func (r SetConfigResponse) StatusCode() int + type SetConsoleJSONRequestBody = Console + type SetConsoleResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *map[string]interface{} + JSON400 *Error + func ParseSetConsoleResponse(rsp *http.Response) (*SetConsoleResponse, error) + func (r SetConsoleResponse) Status() string + func (r SetConsoleResponse) StatusCode() int + type Start struct + Class Class + Constraint *Constraint + Objects []Object + Queries []Query + type Store map[string]string