util

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvalBoolSlice added in v0.0.15

func EvalBoolSlice(slice []bool) bool

EvalBoolSlice evaluates a slice of bools using a logical AND

func HTTPRequestToMap added in v0.0.15

func HTTPRequestToMap(req *http.Request) (map[string]interface{}, error)

HTTPRequestToMap Converts HTTP Request to Matcher Map

func HTTPResponseToMap

func HTTPResponseToMap(resp *http.Response) (map[string]interface{}, error)

HTTPResponseToMap Converts HTTP Response to Matcher Map

func MatchAnyRegex

func MatchAnyRegex(regexes []string, data string) bool

MatchAnyRegex checks if data matches any pattern

Types

This section is empty.

Jump to

Keyboard shortcuts

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