Versions in this module Expand all Collapse all v1 v1.3.3 Aug 20, 2021 v1.3.2 Aug 20, 2021 Changes in this version + func Get(url string, opts ...ReqOption) (*http.Response, []byte, error) + func GetClock() *timetools.FreezedTime + func MakeRequest(url string, opts ...ReqOption) (*http.Response, []byte, error) + func NewHandler(handler http.HandlerFunc) *httptest.Server + func NewResponder(response string) *httptest.Server + func ParseURI(uri string) *url.URL + func Post(url string, opts ...ReqOption) (*http.Response, []byte, error) + type ReqOption func(o *ReqOpts) error + func BasicAuth(username, password string) ReqOption + func Body(b string) ReqOption + func Header(name, val string) ReqOption + func Headers(h http.Header) ReqOption + func Host(h string) ReqOption + func Method(m string) ReqOption + type ReqOpts struct + Auth *utils.BasicAuth + Body string + Headers http.Header + Host string + Method string