common

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouterTest

type RouterTest struct {
	Name                string
	Path                string
	Method              string
	Body                any
	Query               map[string]string
	Headers             map[string]string
	ExpectedStatus      int
	ExpectedBody        string
	ExpectedBodyContain string
	ExpendedHeaders     map[string]string
}

type RouterTestResult

type RouterTestResult struct {
	Code    int
	Body    string
	Headers map[string]string
}

Jump to

Keyboard shortcuts

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