lxTestHelper

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderContentType   = "Content-Type"
	MIMEApplicationJSON = "application/json"
)

Variables

This section is empty.

Functions

func GetTestReqAndRecJson added in v0.3.0

func GetTestReqAndRecJson(method, target string, body io.Reader) (*http.Request, *httptest.ResponseRecorder)

GetTestReqAndRec, returns a test request an recorder

Types

This section is empty.

Jump to

Keyboard shortcuts

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