Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.