serverutils

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CtxWasNotFoundError = errors.New("context.Context was not found into *fasthttp.RequestCtx")
View Source
var WriteResponseMsg = "error occurred while writing data into *fasthttp.RequestCtx"

Functions

func ExtractCtx

func ExtractCtx(ctx *fasthttp.RequestCtx) (context.Context, error)

func Write

func Write(b []byte, ctx *fasthttp.RequestCtx) (int, error)

func WriteString

func WriteString(s string, ctx *fasthttp.RequestCtx) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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