requestkeys

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BodyPrefix = "@"
View Source
var HeaderPrefix = "#"

Functions

func GetByField

func GetByField(field Field, data map[string]any) any

func GetFromBodyAndHeaders

func GetFromBodyAndHeaders(field Field, body map[string]any, headers map[string][]string) any

func PrefixBody

func PrefixBody(body map[string]any) map[string]any

func PrefixHeaders

func PrefixHeaders(headers map[string][]string) map[string][]string

Types

type Field

type Field struct {
	Prefix string
	Key    string
}

func Parse

func Parse(str string) Field

Jump to

Keyboard shortcuts

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