request

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeader

func GetHeader(headers map[string]string, key string) string

GetHeader returns the value for key from headers, with case-insensitive lookup.

func GetRequestPath

func GetRequestPath(headers map[string]string) string

GetRequestPath extracts the request path from headers with fallback priority. Query parameters are stripped because the path is used only for parser routing.

func MatchPathSuffix

func MatchPathSuffix(path, suffix string) bool

MatchPathSuffix checks if the path matches the suffix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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