testhttp

package
v0.9.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testhttp contains helpers for test http request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendTestRequest

func SendTestRequest(t *testing.T, handler http.Handler, method, path string, query url.Values, body io.Reader, header http.Header) *http.Response

SendTestRequest sends request to handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL