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 Auth common.Authentication Site *url.URL Role *internal.ApplicationRoleService Dashboard *internal.DashboardService Filter *internal.FilterService Group *internal.GroupService Issue *internal.IssueADFService MySelf *internal.MySelfService Permission *internal.PermissionService Project *internal.ProjectService Screen *internal.ScreenService Task *internal.TaskService Server *internal.ServerService User *internal.UserService Workflow *internal.WorkflowService }
func (*Client) NewFormRequest ¶
func (*Client) NewRequest ¶
func (*Client) TransformStructToReader ¶
func (*Client) TransformTheHTTPResponse ¶
Click to show internal directories.
Click to hide internal directories.