testhelper

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer added in v1.1.0

func NewServer(opts ...func(*http.ServeMux)) (*httptest.Server, func())

NewServer :

func WithHandlerOption added in v1.1.0

func WithHandlerOption(
	path, method string,
	status int,
	respBody []byte,
) func(*http.ServeMux)

WithHandlerOption :

Types

This section is empty.

Jump to

Keyboard shortcuts

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