headers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeadersFromRequestContext

func GetHeadersFromRequestContext(
	ctx context.Context,
) (http.Header, error)

GetHeadersFromRequestContext tries to get the request headers from the context

Parameters:

  • ctx: The context to get the request headers from

Returns:

- http.Header: The request headers - error: If there was an error getting the request headers

Types

This section is empty.

Jump to

Keyboard shortcuts

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