whatapfasthttp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Func

func Func(handler func(ctx *fasthttp.RequestCtx)) func(*fasthttp.RequestCtx)

func GetClientId

func GetClientId(ctx *fasthttp.RequestCtx, remoteIP string) string

func GetWhatapCookie

func GetWhatapCookie(ctx *fasthttp.RequestCtx) (cookie *fasthttp.Cookie, exists bool)

func HeaderToMap

func HeaderToMap(header *fasthttp.RequestHeader) map[string][]string

func SetFastHttpHeader

func SetFastHttpHeader(ctx context.Context, header *fasthttp.RequestHeader)

func SetWhatapCookie

func SetWhatapCookie(ctx *fasthttp.RequestCtx, cookie *fasthttp.Cookie)

func StartWithFastHttpRequest

func StartWithFastHttpRequest(r *fasthttp.RequestCtx) (context.Context, error)

func TraceHttpParameter

func TraceHttpParameter(ctx *fasthttp.RequestCtx) map[string][]string

func UpdateFastHttpMtrace

func UpdateFastHttpMtrace(traceCtx *trace.TraceCtx, header fasthttp.RequestHeader)

Types

This section is empty.

Jump to

Keyboard shortcuts

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