test

package
v0.25.5 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExpectResponse

type ExpectResponse struct {
	Status  expect.Val
	BodyStr expect.Val
}

type Response

type Response struct {
	Expect ExpectResponse
}

type TC

type TC struct {
	// contains filtered or unexported fields
}

func New

func New(t *testing.T, handler http.Handler) *TC

func (*TC) Close

func (tc *TC) Close()

func (*TC) Get

func (tc *TC) Get(url string, body interface{}) Response

Jump to

Keyboard shortcuts

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