Documentation
¶
Index ¶
- Variables
- func GetDataWithHeader(url string, params url.Values, headers map[string]string) ([]byte, *http.Response, error)
- func Init(timeout int64, poolSize int) error
- func PostDataWithHeader(url string, params url.Values, headers map[string]string) ([]byte, *http.Response, error)
- func SetRoundTripper(rt http.RoundTripper)
- func SetVersion(v string)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrServerError = errors.New("http code not 200")
)
Functions ¶
func GetDataWithHeader ¶
func PostDataWithHeader ¶
func SetRoundTripper ¶
func SetRoundTripper(rt http.RoundTripper)
func SetVersion ¶
func SetVersion(v string)
Types ¶
Click to show internal directories.
Click to hide internal directories.