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

fasthttp

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryArgsFromUrl

func QueryArgsFromUrl(url string) *fasthttp.Args

Types

type Sender

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

func New

func New[T any](t testing.TB, dialer func() (net.Conn, error), followRedirects ...bool) *Sender[T]

func NewWithServer

func NewWithServer[T any](t testing.TB, s *fasthttp.Server, followRedirects ...bool) *Sender[T]

func (*Sender[T]) Test

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

Sends a HTTP request for testing purposes

Jump to

Keyboard shortcuts

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