Documentation ¶
Index ¶
- type Client
- func (c *Client) ApproleLogin(path string, body, result, error interface{}) (*resty.Response, error)
- func (c *Client) ApproleLogout(token, path string, body, result, error interface{}) (*resty.Response, error)
- func (c *Client) Delete(token, path string, result, error interface{}) (*resty.Response, error)
- func (c *Client) Get(token, path string, result, error interface{}) (*resty.Response, error)
- func (c *Client) List(token, path string, result, error interface{}) (*resty.Response, error)
- func (c *Client) Merge(token, path string, body, result, error interface{}) (*resty.Response, error)
- func (c *Client) Post(token, path string, body, result, error interface{}) (*resty.Response, error)
- func (c *Client) Put(token, path string, body, result, error interface{}) (*resty.Response, error)
- func (c *Client) SetHostUrl(url string) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ApproleLogin ¶
func (*Client) ApproleLogout ¶
func (*Client) SetHostUrl ¶
Click to show internal directories.
Click to hide internal directories.