httputils

package
v0.0.0-...-b57bede Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHeadersWithoutTrustedHeaders

func GetHeadersWithoutTrustedHeaders(ctx *gin.Context) http.Header

GetHeadersWithoutTrustedHeaders return a http.Heade object with the original headers except trusted headers

func GetLogFormatter

func GetLogFormatter(param gin.LogFormatterParams) string

GetLogFormatter returns our custom log format

func HeadersToSortedString

func HeadersToSortedString(headers http.Header) string

HeadersToSortedString shorts and dumps http.Header to a string separated by \n

Types

This section is empty.

Jump to

Keyboard shortcuts

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