Documentation
¶
Index ¶
- type Client
- func (c *Client) Call(request *http.Request, structure interface{}) (*models.ResponseScheme, error)
- func (c *Client) NewFormRequest(ctx context.Context, method, apiEndpoint, contentType string, ...) (*http.Request, error)
- func (c *Client) NewRequest(ctx context.Context, method, apiEndpoint string, payload io.Reader) (*http.Request, error)
- func (c *Client) TransformStructToReader(structure interface{}) (io.Reader, error)
- func (c *Client) TransformTheHTTPResponse(response *http.Response, structure interface{}) (*models.ResponseScheme, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { HTTP common.HttpClient Site *url.URL Auth common.Authentication Board *internal.BoardService Epic *internal.EpicService Sprint *internal.SprintService }
func (*Client) NewFormRequest ¶
func (*Client) NewRequest ¶
func (*Client) TransformStructToReader ¶
func (*Client) TransformTheHTTPResponse ¶
Click to show internal directories.
Click to hide internal directories.