errorreplay

package
v3.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package errorreplay marks the middleware run Fiber replays for a request the server refused while reading it, so middleware that stores responses can stay out.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Active

func Active(ctx *fasthttp.RequestCtx) bool

Active reports whether ctx is a refused request being replayed.

func Mark

func Mark(ctx *fasthttp.RequestCtx)

Mark flags ctx as replayed until Unmark.

func Unmark

func Unmark(ctx *fasthttp.RequestCtx)

Unmark removes the flag Mark set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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