fiber

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoFiberSender

type GoFiberSender struct {
	// contains filtered or unexported fields
}

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

func New

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

Instantiate New fiber client for testing purposes

func (*GoFiberSender) Close added in v0.9.0

func (s *GoFiberSender) Close() error

func (*GoFiberSender) Test

func (s *GoFiberSender) Test(req *http.Request, timeout ...time.Duration) (*http.Response, error)

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