test

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual(t *testing.T, exp, rev any)

Types

type ResponseBuffer

type ResponseBuffer struct {
	StatusCode int
	Body       bytes.Buffer
	// contains filtered or unexported fields
}

func (*ResponseBuffer) Header

func (w *ResponseBuffer) Header() http.Header

func (*ResponseBuffer) Write

func (w *ResponseBuffer) Write(bs []byte) (int, error)

func (*ResponseBuffer) WriteHeader

func (w *ResponseBuffer) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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