Documentation ¶
Index ¶
- func Func(handler func(ctx *fasthttp.RequestCtx)) func(*fasthttp.RequestCtx)
- func GetClientId(ctx *fasthttp.RequestCtx, remoteIP string) string
- func GetWhatapCookie(ctx *fasthttp.RequestCtx) (cookie *fasthttp.Cookie, exists bool)
- func HeaderToMap(header *fasthttp.RequestHeader) map[string][]string
- func SetFastHttpHeader(ctx context.Context, header *fasthttp.RequestHeader)
- func SetWhatapCookie(ctx *fasthttp.RequestCtx, cookie *fasthttp.Cookie)
- func StartWithFastHttpRequest(r *fasthttp.RequestCtx) (context.Context, error)
- func TraceHttpParameter(ctx *fasthttp.RequestCtx) map[string][]string
- func UpdateFastHttpMtrace(traceCtx *trace.TraceCtx, header fasthttp.RequestHeader)
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.
Click to show internal directories.
Click to hide internal directories.