testing

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CsrfCookieName = "csrf_"

Functions

This section is empty.

Types

type CookieJar

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

func (*CookieJar) GetValue

func (this *CookieJar) GetValue(name string) string

func (CookieJar) New

func (this CookieJar) New() *CookieJar

func (*CookieJar) ReadCookies

func (this *CookieJar) ReadCookies(resp *http.Response)

func (*CookieJar) RemoveCookie

func (this *CookieJar) RemoveCookie(name string)

func (*CookieJar) WriteCookies

func (this *CookieJar) WriteCookies(req *http.Request)

type TestClient

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

func (*TestClient) CookieJar

func (this *TestClient) CookieJar() *CookieJar

func (*TestClient) GET

func (this *TestClient) GET(uri string, reqfilters ...func(*http.Request)) *http.Response

func (*TestClient) GetCookieValue

func (this *TestClient) GetCookieValue(name string) string

func (TestClient) New

func (this TestClient) New(app *fiber.App) *TestClient

func (*TestClient) POST

func (this *TestClient) POST(uri string, form url.Values, reqfilters ...func(*http.Request)) *http.Response

type TestSecurityAppConfigCustomizer

type TestSecurityAppConfigCustomizer struct {
	Component
	// contains filtered or unexported fields
}

func (*TestSecurityAppConfigCustomizer) FiberConfig

func (this *TestSecurityAppConfigCustomizer) FiberConfig(config *fiber.Config)

type TestSecurityAppHandlers

type TestSecurityAppHandlers struct {
	FiberPathFilter
	Logger
}

func (*TestSecurityAppHandlers) LoggerNext

func (this *TestSecurityAppHandlers) LoggerNext() func(fiber.Ctx) bool

type TestSecurityPathAppHandlers

type TestSecurityPathAppHandlers struct {
	FiberPathFilter
	RequestMapping `Path:"/envvars"`
	EnvVar
}

Jump to

Keyboard shortcuts

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