serverutils

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: Apache-2.0 Imports: 5 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 ErrWriteResponse = errors.New("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