Versions in this module Expand all Collapse all v0 v0.1.1 Mar 8, 2023 v0.1.0 Mar 8, 2023 Changes in this version + func Request(t testing.TB, client *http.Client, method, url string, opts ...Option) + type Option interface + func ExpectNoResponseBody() Option + func ExpectResponseHeader(key, value string) Option + func ExpectStatus(code int) Option + func ExpectedJSONResponse(response interface{}) Option + func ExpectedResponse(r io.Reader) Option + func PutResponseBody(b *[]byte) Option + func UnmarshalJSONResponse(response interface{}) Option + func WithContext(ctx context.Context) Option + func WithJSONRequestBody(r interface{}) Option + func WithMultipartRequest(body io.Reader, length int, filename, contentType string) Option + func WithRequestBody(body io.Reader) Option + func WithRequestHeader(key, value string) Option + func WithRequestHeaders(h http.Header) Option