mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-19 04:33:28 +02:00
rewrite checkpoint
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package jira
|
||||
|
||||
import (
|
||||
"io"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
type HttpClient interface {
|
||||
Delete(url string) (*http.Response, error)
|
||||
GetJSON(url string) (*http.Response, error)
|
||||
Post(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