Documentation
¶
Index ¶
- Variables
- type CookieJar
- type TestClient
- func (this *TestClient) CookieJar() *CookieJar
- func (this *TestClient) GET(uri string, reqfilters ...func(*http.Request)) *http.Response
- func (this *TestClient) GetCookieValue(name string) string
- func (this TestClient) New(app *fiber.App) *TestClient
- func (this *TestClient) POST(uri string, form url.Values, reqfilters ...func(*http.Request)) *http.Response
- type TestSecurityAppConfigCustomizer
- type TestSecurityAppHandlers
- type TestSecurityPathAppHandlers
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) ReadCookies ¶
func (*CookieJar) RemoveCookie ¶
func (*CookieJar) WriteCookies ¶
type TestClient ¶
type TestClient struct {
// contains filtered or unexported fields
}
func (*TestClient) CookieJar ¶
func (this *TestClient) CookieJar() *CookieJar
func (*TestClient) GetCookieValue ¶
func (this *TestClient) GetCookieValue(name string) string
func (TestClient) New ¶
func (this TestClient) New(app *fiber.App) *TestClient
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
}
Click to show internal directories.
Click to hide internal directories.