client_test

package
v1.23.11 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(t *testing.T, param Param)

func TestAll

func TestAll(t *testing.T, params []Param)

Types

type Param

type Param struct {
	Name          string
	RequestBody   string
	ResponseBody  string
	F             func(url string) (any, error)
	ExpectedValue any
	ExpectedError error
}

Jump to

Keyboard shortcuts

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