Duplicated from Niansuh/GA
7d06702
1
2
3
4
5
6
7
8
9
package httpclient import "net/http" type HttpClient interface { Get(url string, headers map[string]string) (*http.Response, error) Post(url string, headers map[string]string, body []byte) (*http.Response, error) }