mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 20:23:28 +02:00
adding Do required for request language
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
|||||||
|
|
||||||
type HttpClient interface {
|
type HttpClient interface {
|
||||||
Delete(url string) (*http.Response, error)
|
Delete(url string) (*http.Response, error)
|
||||||
|
Do(*http.Request) (*http.Response, error)
|
||||||
GetJSON(url string) (*http.Response, error)
|
GetJSON(url string) (*http.Response, error)
|
||||||
Post(url, bodyType string, body io.Reader) (*http.Response, error)
|
Post(url, bodyType string, body io.Reader) (*http.Response, error)
|
||||||
Put(url, bodyType string, body io.Reader) (*http.Response, error)
|
Put(url, bodyType string, body io.Reader) (*http.Response, error)
|
||||||
|
|||||||
Reference in New Issue
Block a user