testutils

package
v0.0.0-...-10dabc7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestResponse

type TestResponse struct {
	T *testing.T

	RespHeader http.Header
	Payload    []byte
	StatusCode int
}

func (*TestResponse) Header

func (tr *TestResponse) Header() http.Header

func (*TestResponse) Write

func (tr *TestResponse) Write(payload []byte) (int, error)

func (*TestResponse) WriteHeader

func (tr *TestResponse) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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