testrest

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package testrest provides bounded JSON HTTP transport for emulator tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(ctx context.Context, client *http.Client, method, endpoint string, body, result any) error

Do sends one JSON request. The caller supplies a client timeout and context deadline; service requests and response assertions remain in the tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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