httpadapter

package
v0.0.0-...-a56ea5b Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustParseResponse

func MustParseResponse[T any](t *testing.T, r *http.Response) (T, error)

func New

func New(baseURL string) specification.Interactor

Types

type HTTPRequest

type HTTPRequest struct {
	Method  string
	Path    string
	Body    any
	Context specification.Context
}

type HTTPResponse

type HTTPResponse struct {
	*http.Response
}

Jump to

Keyboard shortcuts

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