test

package
v0.0.0-...-c864ae1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpTestRequestContext

type HttpTestRequestContext struct {
	Method      string
	TargetUrl   string
	RequestBody string
	ContentType string
	Handler     http.HandlerFunc
}

func (*HttpTestRequestContext) BuildJsonResponse

func (context *HttpTestRequestContext) BuildJsonResponse() JsonResponseContainer

type JsonResponseContainer

type JsonResponseContainer struct {
	StatusCode  int
	JsonMap     map[string]interface{}
	RawResponse string
}

Jump to

Keyboard shortcuts

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