utils

package
v0.0.0-...-1b31293 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: EUPL-1.2 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyHeader

func CopyHeader(dst, src http.Header)

func DelHopHeaders

func DelHopHeaders(header http.Header)

func EnvSubst

func EnvSubst(input string) string

func GenerateBasicAuthHeader

func GenerateBasicAuthHeader(username, password string) string

func GetTransactionMetadata

func GetTransactionMetadata(t wfs.Transaction) (string, int)

func QueryParamsContainMultipleKeys

func QueryParamsContainMultipleKeys(queryParams url.Values) bool

func QueryParamsToLower

func QueryParamsToLower(queryParams url.Values) url.Values

func ReadUserIP

func ReadUserIP(r *http.Request) string

func StringInSlice

func StringInSlice(a string, list []string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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