Documentation ¶
Index ¶
- 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 Interface
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.4.22
type Client struct { *resty.Client Config }
func (*Client) GetAuthToken ¶ added in v0.4.22
func (*Client) GetHostURL ¶ added in v0.4.22
func (*Client) GetOrganization ¶ added in v0.4.22
func (*Client) GetWithParams ¶ added in v0.4.22
type Interface ¶
type Interface interface { Post(path string, body *jnode.Node, options ...Option) (*jnode.Node, error) Patch(path string, body *jnode.Node, options ...Option) (*jnode.Node, error) Get(path string, options ...Option) (*jnode.Node, error) GetWithParams(path string, params map[string]string, options ...Option) (*jnode.Node, error) Delete(path string, options ...Option) (*jnode.Node, error) XCPPost(orgID string, module string, files []string, values map[string]string, options ...Option) (*jnode.Node, error) GetClient() *resty.Client }
Click to show internal directories.
Click to hide internal directories.