requestprocessing

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyJQOnMapStrings

func ApplyJQOnMapStrings(keyToJQQueries map[string][]string, baseMap map[string]interface{}) (map[string][]string, error)

ApplyJQOnMapStrings applies the provided JQ queries to a map of strings, using the given Request. It generates a base JQ object from the provided Request and then parses the queries to produce the resulting map.

func ApplyJQOnStr

func ApplyJQOnStr(jqQuery string, baseMap map[string]interface{}) (string, error)

ApplyJQOnStr applies a jq query to a Request, returning the result as a string. The function handles complex results by converting them to JSON format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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