Help us shape the future of Go! Take the 2026 Go Developer Survey

fiber

package
v2.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallHandler

func CallHandler(tb testing.TB, h fiber.Handler, fn ...func(*fasthttp.Request)) (*fiber.Ctx, error)

Types

type GoFiberSender

type GoFiberSender[T any] struct {
	// contains filtered or unexported fields
}

type GoFiberSender Sturcture contains in memory server and client for testing purposes

func New

func New[T any](t testing.TB, app *fiber.App, followRedirects ...bool) *GoFiberSender[T]

Instantiate New fiber client for testing purposes

func (*GoFiberSender[T]) Test

func (s *GoFiberSender[T]) Test(req *http.Request, timeout ...time.Duration) nano_http.ExtendedResponse[T]

Sends a new Fiber request for testing purposes

Jump to

Keyboard shortcuts

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