test

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecRequest

func ExecRequest(app http.Handler, method, path string, headers ...header) *httptest.ResponseRecorder

Types

type CustomerResWriter

type CustomerResWriter struct{}

func (*CustomerResWriter) Header

func (m *CustomerResWriter) Header() (h http.Header)

func (*CustomerResWriter) Write

func (m *CustomerResWriter) Write(p []byte) (n int, err error)

func (*CustomerResWriter) WriteHeader

func (m *CustomerResWriter) WriteHeader(int)

func (*CustomerResWriter) WriteString

func (m *CustomerResWriter) WriteString(s string) (n int, err error)

Jump to

Keyboard shortcuts

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