utils

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateResponse

func ValidateResponse(expectedStatusCode int, message string, response *http.Response, body []byte)

Checked version of ValidateResponseSafe

func ValidateResponseSafe

func ValidateResponseSafe(expectedStatusCode int, message string, response *http.Response, body []byte) error

ValidateResponseSafe checks if the response is nil or if the status code differs from the expected status code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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