Documentation ¶
Index ¶
- func Get(url string, opts ...ReqOption) (*http.Response, []byte, error)
- 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
- type ReqOption
- type ReqOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(handler http.HandlerFunc) *httptest.Server
func NewResponder ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.