Versions in this module Expand all Collapse all v0 v0.2.0 May 30, 2024 Changes in this version + const DefaultUserAgent + type Client struct + func NewClient(config *Config) *Client + func (c *Client) CreateWorkspace(ctx context.Context) (*model.Workspace, error) + func (c *Client) DeleteWorkspace(ctx context.Context, id int64) (*model.APIResponse, error) + func (c *Client) GetWorkspaces(ctx context.Context) (*model.Workspaces, error) + type Config struct + AdminAPIKey string + BaseURL *url.URL + TLSInsecure bool + UserAgent string + type Doer interface + Do func(*http.Request) (*http.Response, error)