Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Delete(path string, options ...Option) (*jnode.Node, error)
- func (c *Client) Get(path string, options ...Option) (*jnode.Node, error)
- func (c *Client) GetAuthToken() string
- func (c *Client) GetClient() *resty.Client
- func (c *Client) GetHostURL() string
- func (c *Client) GetOrganization() string
- func (c *Client) GetWithParams(path string, params map[string]string, options ...Option) (*jnode.Node, error)
- func (c *Client) Patch(path string, body *jnode.Node, options ...Option) (*jnode.Node, error)
- func (c *Client) Post(path string, body *jnode.Node, options ...Option) (*jnode.Node, error)
- func (c *Client) XCPPost(orgID string, module string, files []string, values map[string]string, ...) (*jnode.Node, error)
- type Config
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var HTTPError httpError
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *resty.Client Config }
func (*Client) GetAuthToken ¶
func (*Client) GetHostURL ¶
func (*Client) GetOrganization ¶
func (*Client) GetWithParams ¶
Click to show internal directories.
Click to hide internal directories.