Documentation
¶
Index ¶
- type ErrorResponse
- type RestApiClient
- func (c *RestApiClient) DeleteRequest(endpoint string) (*http.Response, diag.Diagnostics)
- func (c *RestApiClient) DoRequest(method string, endpoint string, body []byte) (*http.Response, diag.Diagnostics)
- func (c *RestApiClient) GetRequest(endpoint string) (*http.Response, diag.Diagnostics)
- func (c *RestApiClient) PostRequest(endpoint string, body []byte) (*http.Response, diag.Diagnostics)
- func (c *RestApiClient) PutRequest(endpoint string, body []byte) (*http.Response, diag.Diagnostics)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type RestApiClient ¶
func NewRestApiClient ¶
func (*RestApiClient) DeleteRequest ¶
func (c *RestApiClient) DeleteRequest(endpoint string) (*http.Response, diag.Diagnostics)
func (*RestApiClient) DoRequest ¶
func (c *RestApiClient) DoRequest(method string, endpoint string, body []byte) (*http.Response, diag.Diagnostics)
func (*RestApiClient) GetRequest ¶
func (c *RestApiClient) GetRequest(endpoint string) (*http.Response, diag.Diagnostics)
func (*RestApiClient) PostRequest ¶
func (c *RestApiClient) PostRequest(endpoint string, body []byte) (*http.Response, diag.Diagnostics)
func (*RestApiClient) PutRequest ¶
func (c *RestApiClient) PutRequest(endpoint string, body []byte) (*http.Response, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.