http

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPAsserter

func NewHTTPAsserter() *httpAsserter

NewHTTPAsserter creates a new AWSAsserter instance

Types

type HTTPAsserter

type HTTPAsserter interface {
	AssertResponseStatus(resp *httphelpers.HttpResponse, expectedStatus int) error
	AssertResponseHeader(resp *httphelpers.HttpResponse, headerName, expectedValue string) error
	AssertResponseContains(resp *httphelpers.HttpResponse, expectedContent string) error
	AssertResponseJSON(resp *httphelpers.HttpResponse) error
}

HTTPAsserter defines HTTP-specific assertions

Jump to

Keyboard shortcuts

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