SYMBOL INDEX (4208 symbols across 235 files) FILE: adapter.go function toFiberHandler (line 13) | func toFiberHandler(handler any) (Handler, bool) { function adaptFiberHandler (line 32) | func adaptFiberHandler(handler any) (Handler, bool) { function adaptExpressHandler (line 52) | func adaptExpressHandler(handler any) (Handler, bool) { function adaptHTTPHandler (line 188) | func adaptHTTPHandler(handler any) (Handler, bool) { function isNilableKind (line 214) | func isNilableKind(kind reflect.Kind) bool { function adaptFastHTTPHandler (line 223) | func adaptFastHTTPHandler(handler any) (Handler, bool) { function wrapHTTPHandler (line 246) | func wrapHTTPHandler(handler http.Handler) Handler { function collectHandlers (line 262) | func collectHandlers(context string, args ...any) []Handler { FILE: adapter_test.go function TestToFiberHandler_Nil (line 19) | func TestToFiberHandler_Nil(t *testing.T) { function TestToFiberHandler_FiberHandler (line 28) | func TestToFiberHandler_FiberHandler(t *testing.T) { function TestToFiberHandler_FiberHandlerNoErrorReturn (line 39) | func TestToFiberHandler_FiberHandlerNoErrorReturn(t *testing.T) { function TestNewTestCtx_ReturnsDefaultCtx (line 57) | func TestNewTestCtx_ReturnsDefaultCtx(t *testing.T) { function newTestCtx (line 66) | func newTestCtx(t *testing.T) (*App, *DefaultCtx) { function withRouteHandlers (line 82) | func withRouteHandlers(t *testing.T, ctx *DefaultCtx, handlers ...Handle... function TestToFiberHandler_ExpressTwoParamsWithError (line 93) | func TestToFiberHandler_ExpressTwoParamsWithError(t *testing.T) { function TestToFiberHandler_ExpressTwoParamsWithoutError (line 111) | func TestToFiberHandler_ExpressTwoParamsWithoutError(t *testing.T) { function TestToFiberHandler_ExpressThreeParamsWithError (line 128) | func TestToFiberHandler_ExpressThreeParamsWithError(t *testing.T) { function TestToFiberHandler_ExpressThreeParamsWithoutError (line 156) | func TestToFiberHandler_ExpressThreeParamsWithoutError(t *testing.T) { function TestToFiberHandler_ExpressNextNoArgWithErrorReturn (line 181) | func TestToFiberHandler_ExpressNextNoArgWithErrorReturn(t *testing.T) { function TestToFiberHandler_ExpressNextWithErrorContinuesOnNil (line 210) | func TestToFiberHandler_ExpressNextWithErrorContinuesOnNil(t *testing.T) { function TestToFiberHandler_ExpressNextWithErrorShortCircuitsOnError (line 237) | func TestToFiberHandler_ExpressNextWithErrorShortCircuitsOnError(t *test... function TestToFiberHandler_ExpressNextWithErrorReturn_ShortCircuitsOnNextError (line 264) | func TestToFiberHandler_ExpressNextWithErrorReturn_ShortCircuitsOnNextEr... function TestToFiberHandler_ExpressNextWithErrorReturnCallback_PropagatesNextError (line 292) | func TestToFiberHandler_ExpressNextWithErrorReturnCallback_PropagatesNex... function TestToFiberHandler_ExpressNextWithErrorReturnCallback_ShortCircuitsOnNextError (line 320) | func TestToFiberHandler_ExpressNextWithErrorReturnCallback_ShortCircuits... function TestToFiberHandler_ExpressNextWithErrorReturn_PrefersHandlerErrorOverNextError (line 347) | func TestToFiberHandler_ExpressNextWithErrorReturn_PrefersHandlerErrorOv... function TestToFiberHandler_ExpressNextWithErrorReturn_PropagatesNextErrorWhenNoReturnError (line 375) | func TestToFiberHandler_ExpressNextWithErrorReturn_PropagatesNextErrorWh... function TestToFiberHandler_ExpressNextWithErrorReturnCallback_StopsChainWithoutNextCall (line 402) | func TestToFiberHandler_ExpressNextWithErrorReturnCallback_StopsChainWit... function TestAdapter_MixedHandlerIntegration (line 429) | func TestAdapter_MixedHandlerIntegration(t *testing.T) { function TestToFiberHandler_ExpressNextNoArgPropagatesError (line 506) | func TestToFiberHandler_ExpressNextNoArgPropagatesError(t *testing.T) { function TestToFiberHandler_ExpressNextNoArgStopsChain (line 534) | func TestToFiberHandler_ExpressNextNoArgStopsChain(t *testing.T) { function TestToFiberHandler_ExpressNextNoArgMiddleware (line 561) | func TestToFiberHandler_ExpressNextNoArgMiddleware(t *testing.T) { function TestCollectHandlers_HTTPHandler (line 592) | func TestCollectHandlers_HTTPHandler(t *testing.T) { function TestToFiberHandler_HTTPHandler (line 621) | func TestToFiberHandler_HTTPHandler(t *testing.T) { function TestToFiberHandler_FasthttpHandlerWithError (line 647) | func TestToFiberHandler_FasthttpHandlerWithError(t *testing.T) { function TestToFiberHandler_HTTPHandler_Flush (line 666) | func TestToFiberHandler_HTTPHandler_Flush(t *testing.T) { function TestWrapHTTPHandler_Flush_App_Test (line 694) | func TestWrapHTTPHandler_Flush_App_Test(t *testing.T) { function Test_HTTPHandler_App_Test_Interrupted (line 721) | func Test_HTTPHandler_App_Test_Interrupted(t *testing.T) { function TestToFiberHandler_HTTPHandlerFunc (line 747) | func TestToFiberHandler_HTTPHandlerFunc(t *testing.T) { function TestWrapHTTPHandler_Nil (line 769) | func TestWrapHTTPHandler_Nil(t *testing.T) { function TestCollectHandlers_InvalidType (line 775) | func TestCollectHandlers_InvalidType(t *testing.T) { function TestCollectHandlers_TypedNilHTTPHandlers (line 783) | func TestCollectHandlers_TypedNilHTTPHandlers(t *testing.T) { type dummyHandler (line 821) | type dummyHandler struct method ServeHTTP (line 823) | func (dummyHandler) ServeHTTP(http.ResponseWriter, *http.Request) {} type dummyFuncHandler (line 825) | type dummyFuncHandler method ServeHTTP (line 827) | func (handler dummyFuncHandler) ServeHTTP(w http.ResponseWriter, r *ht... function TestCollectHandlers_TypedNilPointerHTTPHandler (line 834) | func TestCollectHandlers_TypedNilPointerHTTPHandler(t *testing.T) { function TestCollectHandlers_TypedNilFuncHTTPHandler (line 844) | func TestCollectHandlers_TypedNilFuncHTTPHandler(t *testing.T) { function TestCollectHandlers_TypedNilFasthttpHandlers (line 855) | func TestCollectHandlers_TypedNilFasthttpHandlers(t *testing.T) { function TestCollectHandlers_FasthttpHandler (line 888) | func TestCollectHandlers_FasthttpHandler(t *testing.T) { function TestCollectHandlers_FiberHandlerNoErrorReturn (line 919) | func TestCollectHandlers_FiberHandlerNoErrorReturn(t *testing.T) { function TestCollectHandlers_MixedHandlers (line 939) | func TestCollectHandlers_MixedHandlers(t *testing.T) { function TestCollectHandlers_Nil (line 972) | func TestCollectHandlers_Nil(t *testing.T) { FILE: addon/retry/config.go type Config (line 8) | type Config struct function configDefault (line 47) | func configDefault(config ...Config) Config { FILE: addon/retry/config_test.go function TestConfigDefault_NoConfig (line 10) | func TestConfigDefault_NoConfig(t *testing.T) { function TestConfigDefault_Custom (line 16) | func TestConfigDefault_Custom(t *testing.T) { function TestConfigDefault_PartialAndNegative (line 29) | func TestConfigDefault_PartialAndNegative(t *testing.T) { function TestConfigDefault_CustomInitialInterval (line 35) | func TestConfigDefault_CustomInitialInterval(t *testing.T) { function TestConfigDefault_CustomCurrentInterval (line 44) | func TestConfigDefault_CustomCurrentInterval(t *testing.T) { function TestConfigDefault_CurrentIntervalAndInitialDiffer (line 53) | func TestConfigDefault_CurrentIntervalAndInitialDiffer(t *testing.T) { function TestNewExponentialBackoff_Config (line 62) | func TestNewExponentialBackoff_Config(t *testing.T) { FILE: addon/retry/exponential_backoff.go type ExponentialBackoff (line 10) | type ExponentialBackoff struct method Retry (line 43) | func (e *ExponentialBackoff) Retry(f func() error) error { method next (line 62) | func (e *ExponentialBackoff) next() time.Duration { function NewExponentialBackoff (line 29) | func NewExponentialBackoff(config ...Config) *ExponentialBackoff { FILE: addon/retry/exponential_backoff_test.go function Test_ExponentialBackoff_Retry (line 12) | func Test_ExponentialBackoff_Retry(t *testing.T) { function Test_ExponentialBackoff_Retry_NoSleepAfterLastAttempt (line 63) | func Test_ExponentialBackoff_Retry_NoSleepAfterLastAttempt(t *testing.T) { function Test_ExponentialBackoff_Next (line 88) | func Test_ExponentialBackoff_Next(t *testing.T) { function Test_ExponentialBackoff_NextRandFailure (line 149) | func Test_ExponentialBackoff_NextRandFailure(t *testing.T) { type failingReader (line 168) | type failingReader struct method Read (line 170) | func (failingReader) Read(_ []byte) (int, error) { return 0, errors.Ne... FILE: app.go constant Version (line 37) | Version = "3.1.0" type Map (line 43) | type Map type Error (line 62) | type Error struct method Error (line 1012) | func (e *Error) Error() string { type App (line 68) | type App struct method GetString (line 675) | func (app *App) GetString(s string) string { method GetBytes (line 687) | func (app *App) GetBytes(b []byte) []byte { method handleTrustedProxy (line 698) | func (app *App) handleTrustedProxy(ipAddress string) { method setCtxFunc (line 719) | func (app *App) setCtxFunc(function func(app *App) CustomCtx) { method RegisterCustomConstraint (line 729) | func (app *App) RegisterCustomConstraint(constraint CustomConstraint) { method RegisterCustomBinder (line 735) | func (app *App) RegisterCustomBinder(customBinder CustomBinder) { method ReloadViews (line 741) | func (app *App) ReloadViews() error { method SetTLSHandler (line 775) | func (app *App) SetTLSHandler(tlsHandler *TLSHandler) { method Name (line 783) | func (app *App) Name(name string) Router { method GetRoute (line 809) | func (app *App) GetRoute(name string) Route { method GetRoutes (line 822) | func (app *App) GetRoutes(filterUseOption ...bool) []Route { method Use (line 860) | func (app *App) Use(args ...any) Router { method Get (line 900) | func (app *App) Get(path string, handler any, handlers ...any) Router { method Head (line 906) | func (app *App) Head(path string, handler any, handlers ...any) Router { method Post (line 912) | func (app *App) Post(path string, handler any, handlers ...any) Router { method Put (line 918) | func (app *App) Put(path string, handler any, handlers ...any) Router { method Delete (line 923) | func (app *App) Delete(path string, handler any, handlers ...any) Rout... method Connect (line 929) | func (app *App) Connect(path string, handler any, handlers ...any) Rou... method Options (line 935) | func (app *App) Options(path string, handler any, handlers ...any) Rou... method Trace (line 941) | func (app *App) Trace(path string, handler any, handlers ...any) Router { method Patch (line 947) | func (app *App) Patch(path string, handler any, handlers ...any) Router { method Add (line 953) | func (app *App) Add(methods []string, path string, handler any, handle... method All (line 961) | func (app *App) All(path string, handler any, handlers ...any) Router { method Group (line 969) | func (app *App) Group(prefix string, handlers ...any) Router { method RouteChain (line 985) | func (app *App) RouteChain(path string) Register { method Route (line 995) | func (app *App) Route(prefix string, fn func(router Router), name ...s... method Config (line 1062) | func (app *App) Config() Config { method Handler (line 1067) | func (app *App) Handler() fasthttp.RequestHandler { //revive:disable-l... method Stack (line 1074) | func (app *App) Stack() [][]*Route { method HandlersCount (line 1079) | func (app *App) HandlersCount() uint32 { method Shutdown (line 1096) | func (app *App) Shutdown() error { method ShutdownWithTimeout (line 1107) | func (app *App) ShutdownWithTimeout(timeout time.Duration) error { method ShutdownWithContext (line 1118) | func (app *App) ShutdownWithContext(ctx context.Context) error { method Server (line 1137) | func (app *App) Server() *fasthttp.Server { method Hooks (line 1142) | func (app *App) Hooks() *Hooks { method State (line 1147) | func (app *App) State() *State { method Test (line 1170) | func (app *App) Test(req *http.Request, config ...TestConfig) (*http.R... method init (line 1286) | func (app *App) init() *App { method ErrorHandler (line 1347) | func (app *App) ErrorHandler(ctx Ctx, err error) error { method serverErrorHandler (line 1382) | func (app *App) serverErrorHandler(fctx *fasthttp.RequestCtx, err erro... method startupProcess (line 1435) | func (app *App) startupProcess() { method runOnListenHooks (line 1453) | func (app *App) runOnListenHooks(listenData *ListenData) { type Config (line 115) | type Config struct type TrustProxyConfig (line 446) | type TrustProxyConfig struct type RouteMessage (line 479) | type RouteMessage struct constant DefaultBodyLimit (line 488) | DefaultBodyLimit = 4 * 1024 * 1024 constant DefaultMaxRanges (line 489) | DefaultMaxRanges = 16 constant DefaultConcurrency (line 490) | DefaultConcurrency = 256 * 1024 constant DefaultReadBufferSize (line 491) | DefaultReadBufferSize = 4096 constant DefaultWriteBufferSize (line 492) | DefaultWriteBufferSize = 4096 constant methodGet (line 496) | methodGet = iota constant methodHead (line 497) | methodHead constant methodPost (line 498) | methodPost constant methodPut (line 499) | methodPut constant methodDelete (line 500) | methodDelete constant methodConnect (line 501) | methodConnect constant methodOptions (line 502) | methodOptions constant methodTrace (line 503) | methodTrace constant methodPatch (line 504) | methodPatch function DefaultErrorHandler (line 524) | func DefaultErrorHandler(c Ctx, err error) error { function New (line 543) | func New(config ...Config) *App { function NewWithCustomCtx (line 667) | func NewWithCustomCtx(newCtxFunc func(app *App) CustomCtx, config ...Con... function NewError (line 1017) | func NewError(code int, message ...string) *Error { function NewErrorf (line 1032) | func NewErrorf(code int, message ...any) *Error { type TestConfig (line 1154) | type TestConfig struct type disableLogger (line 1280) | type disableLogger struct method Printf (line 1283) | func (*disableLogger) Printf(string, ...any) { FILE: app_integration_test.go type integrationCustomCtx (line 34) | type integrationCustomCtx struct function newIntegrationCustomCtx (line 38) | func newIntegrationCustomCtx(app *fiber.App) fiber.CustomCtx { function performOversizedRequest (line 42) | func performOversizedRequest(t *testing.T, app *fiber.App, configure fun... type middlewareCombinationTestCase (line 110) | type middlewareCombinationTestCase struct method statusOrDefault (line 119) | func (tc middlewareCombinationTestCase) statusOrDefault() int { method handlerOrDefault (line 126) | func (tc middlewareCombinationTestCase) handlerOrDefault() func(fiber.... function Test_Integration_RequestID_ContextPropagationFlag (line 136) | func Test_Integration_RequestID_ContextPropagationFlag(t *testing.T) { function Test_Integration_App_ServerErrorHandler_MiddlewareCombinationHeaders (line 174) | func Test_Integration_App_ServerErrorHandler_MiddlewareCombinationHeader... function Test_Integration_App_ServerErrorHandler_PreservesCORSHeadersOnBodyLimit (line 544) | func Test_Integration_App_ServerErrorHandler_PreservesCORSHeadersOnBodyL... function Test_Integration_App_ServerErrorHandler_PreservesHelmetHeadersOnBodyLimit (line 564) | func Test_Integration_App_ServerErrorHandler_PreservesHelmetHeadersOnBod... function Test_Integration_App_ServerErrorHandler_PreservesRequestID (line 580) | func Test_Integration_App_ServerErrorHandler_PreservesRequestID(t *testi... function Test_Integration_App_ServerErrorHandler_GroupMiddlewareChain (line 597) | func Test_Integration_App_ServerErrorHandler_GroupMiddlewareChain(t *tes... function Test_Integration_App_ServerErrorHandler_RetainsHeadersFromSubsequentMiddleware (line 621) | func Test_Integration_App_ServerErrorHandler_RetainsHeadersFromSubsequen... function Test_Integration_App_ServerErrorHandler_WithCustomCtx (line 639) | func Test_Integration_App_ServerErrorHandler_WithCustomCtx(t *testing.T) { FILE: app_test.go type fileView (line 40) | type fileView struct method Load (line 46) | func (v *fileView) Load() error { method Render (line 57) | func (*fileView) Render(io.Writer, string, any, ...string) error { ret... function testEmptyHandler (line 59) | func testEmptyHandler(_ Ctx) error { function testStatus200 (line 63) | func testStatus200(t *testing.T, app *App, url, method string) { function testErrorResponse (line 73) | func testErrorResponse(t *testing.T, err error, resp *http.Response, exp... function Test_App_Test_Goroutine_Leak_Compare (line 84) | func Test_App_Test_Goroutine_Leak_Compare(t *testing.T) { function Test_App_MethodNotAllowed (line 177) | func Test_App_MethodNotAllowed(t *testing.T) { function Test_App_RegisterNetHTTPHandler (line 229) | func Test_App_RegisterNetHTTPHandler(t *testing.T) { function Test_App_Custom_Middleware_404_Should_Not_SetMethodNotAllowed (line 352) | func Test_App_Custom_Middleware_404_Should_Not_SetMethodNotAllowed(t *te... function Test_App_ServerErrorHandler_SmallReadBuffer (line 387) | func Test_App_ServerErrorHandler_SmallReadBuffer(t *testing.T) { function Test_App_Errors (line 409) | func Test_App_Errors(t *testing.T) { function Test_App_BodyLimit_Negative (line 433) | func Test_App_BodyLimit_Negative(t *testing.T) { function Test_App_BodyLimit_Zero (line 457) | func Test_App_BodyLimit_Zero(t *testing.T) { function Test_App_BodyLimit_LargerThanDefault (line 478) | func Test_App_BodyLimit_LargerThanDefault(t *testing.T) { type customConstraint (line 502) | type customConstraint struct method Name (line 504) | func (*customConstraint) Name() string { method Execute (line 508) | func (*customConstraint) Execute(param string, args ...string) bool { function Test_App_CustomConstraint (line 520) | func Test_App_CustomConstraint(t *testing.T) { function Test_App_ErrorHandler_Custom (line 558) | func Test_App_ErrorHandler_Custom(t *testing.T) { function Test_App_ErrorHandler_HandlerStack (line 579) | func Test_App_ErrorHandler_HandlerStack(t *testing.T) { function Test_App_ErrorHandler_RouteStack (line 609) | func Test_App_ErrorHandler_RouteStack(t *testing.T) { function Test_App_serverErrorHandler_Internal_Error (line 635) | func Test_App_serverErrorHandler_Internal_Error(t *testing.T) { function Test_App_serverErrorHandler_Network_Error (line 646) | func Test_App_serverErrorHandler_Network_Error(t *testing.T) { function Test_App_serverErrorHandler_Unsupported_Method_Error (line 660) | func Test_App_serverErrorHandler_Unsupported_Method_Error(t *testing.T) { function Test_App_serverErrorHandler_Unsupported_Method_Request (line 670) | func Test_App_serverErrorHandler_Unsupported_Method_Request(t *testing.T) { function Test_App_Nested_Params (line 715) | func Test_App_Nested_Params(t *testing.T) { function Test_App_Use_Params (line 739) | func Test_App_Use_Params(t *testing.T) { function Test_App_Use_UnescapedPath (line 778) | func Test_App_Use_UnescapedPath(t *testing.T) { function Test_App_Use_CaseSensitive (line 807) | func Test_App_Use_CaseSensitive(t *testing.T) { function Test_App_Not_Use_StrictRouting (line 838) | func Test_App_Not_Use_StrictRouting(t *testing.T) { function Test_App_Use_MultiplePrefix (line 872) | func Test_App_Use_MultiplePrefix(t *testing.T) { function Test_Group_Use_NoBoundary (line 918) | func Test_Group_Use_NoBoundary(t *testing.T) { function Test_App_Use_StrictRouting (line 937) | func Test_App_Use_StrictRouting(t *testing.T) { function Test_App_Add_Method_Test (line 971) | func Test_App_Add_Method_Test(t *testing.T) { function Test_App_All_Method_Test (line 999) | func Test_App_All_Method_Test(t *testing.T) { function Test_App_GETOnly (line 1021) | func Test_App_GETOnly(t *testing.T) { function Test_App_Use_Params_Group (line 1037) | func Test_App_Use_Params_Group(t *testing.T) { function Test_App_Chaining (line 1056) | func Test_App_Chaining(t *testing.T) { function Test_App_Order (line 1085) | func Test_App_Order(t *testing.T) { function Test_App_AutoHead_Compliance (line 1120) | func Test_App_AutoHead_Compliance(t *testing.T) { function Test_App_AutoHead_Compliance_SendFile (line 1159) | func Test_App_AutoHead_Compliance_SendFile(t *testing.T) { function Test_App_Methods (line 1207) | func Test_App_Methods(t *testing.T) { function Test_App_Route_Naming (line 1247) | func Test_App_Route_Naming(t *testing.T) { function Test_App_New (line 1278) | func Test_App_New(t *testing.T) { function Test_App_Config (line 1289) | func Test_App_Config(t *testing.T) { function Test_App_GetString (line 1297) | func Test_App_GetString(t *testing.T) { function Test_App_GetBytes (line 1320) | func Test_App_GetBytes(t *testing.T) { function Test_App_Shutdown (line 1347) | func Test_App_Shutdown(t *testing.T) { function Test_App_ShutdownWithTimeout (line 1364) | func Test_App_ShutdownWithTimeout(t *testing.T) { function Test_App_ShutdownWithContext (line 1413) | func Test_App_ShutdownWithContext(t *testing.T) { function Test_App_OptionsAsterisk (line 1542) | func Test_App_OptionsAsterisk(t *testing.T) { function Test_App_Mixed_Routes_WithSameLen (line 1615) | func Test_App_Mixed_Routes_WithSameLen(t *testing.T) { function Test_App_Group_Invalid (line 1661) | func Test_App_Group_Invalid(t *testing.T) { function Test_App_Group (line 1669) | func Test_App_Group(t *testing.T) { function Test_App_RouteChain (line 1728) | func Test_App_RouteChain(t *testing.T) { function Test_App_Route (line 1776) | func Test_App_Route(t *testing.T) { function Test_App_Route_nilFuncPanics (line 1799) | func Test_App_Route_nilFuncPanics(t *testing.T) { function Test_Group_Route_nilFuncPanics (line 1809) | func Test_Group_Route_nilFuncPanics(t *testing.T) { function Test_Group_RouteChain_All (line 1820) | func Test_Group_RouteChain_All(t *testing.T) { function Test_App_Deep_Group (line 1841) | func Test_App_Deep_Group(t *testing.T) { function Test_App_Next_Method (line 1862) | func Test_App_Next_Method(t *testing.T) { function Benchmark_NewError (line 1879) | func Benchmark_NewError(b *testing.B) { function Benchmark_NewError_Parallel (line 1885) | func Benchmark_NewError_Parallel(b *testing.B) { function Test_NewError (line 1894) | func Test_NewError(t *testing.T) { function Test_NewErrorf_Format (line 1902) | func Test_NewErrorf_Format(t *testing.T) { function Test_Test_Timeout (line 1968) | func Test_Test_Timeout(t *testing.T) { type errorReader (line 1992) | type errorReader method Read (line 1996) | func (errorReader) Read([]byte) (int, error) { function Test_Test_DumpError (line 2001) | func Test_Test_DumpError(t *testing.T) { function Test_App_Handler (line 2013) | func Test_App_Handler(t *testing.T) { type invalidView (line 2019) | type invalidView struct method Load (line 2021) | func (invalidView) Load() error { return errors.New("invalid view") } method Render (line 2023) | func (invalidView) Render(io.Writer, string, any, ...string) error { p... type countingView (line 2025) | type countingView struct method Load (line 2030) | func (v *countingView) Load() error { method Render (line 2035) | func (*countingView) Render(io.Writer, string, any, ...string) error {... function Test_App_ReloadViews_Success (line 2037) | func Test_App_ReloadViews_Success(t *testing.T) { function Test_App_ReloadViews_Error (line 2050) | func Test_App_ReloadViews_Error(t *testing.T) { function Test_App_ReloadViews_NoEngine (line 2061) | func Test_App_ReloadViews_NoEngine(t *testing.T) { function Test_App_ReloadViews_InterfaceNilPointer (line 2069) | func Test_App_ReloadViews_InterfaceNilPointer(t *testing.T) { function Test_App_ReloadViews_MountedViews (line 2078) | func Test_App_ReloadViews_MountedViews(t *testing.T) { function Test_App_ReloadViews_MountedViews_Error (line 2101) | func Test_App_ReloadViews_MountedViews_Error(t *testing.T) { function Test_App_ReloadViews_MountedViews_MultipleApps (line 2113) | func Test_App_ReloadViews_MountedViews_MultipleApps(t *testing.T) { function Test_App_ReloadViews_MountedViews_WithParentViews (line 2132) | func Test_App_ReloadViews_MountedViews_WithParentViews(t *testing.T) { function Test_App_Init_Error_View (line 2150) | func Test_App_Init_Error_View(t *testing.T) { function Test_App_Stack (line 2161) | func Test_App_Stack(t *testing.T) { function Test_App_HandlersCount (line 2187) | func Test_App_HandlersCount(t *testing.T) { function Test_App_ReadTimeout (line 2202) | func Test_App_ReadTimeout(t *testing.T) { function Test_App_BadRequest (line 2245) | func Test_App_BadRequest(t *testing.T) { function Test_App_SmallReadBuffer (line 2282) | func Test_App_SmallReadBuffer(t *testing.T) { function Test_App_Server (line 2310) | func Test_App_Server(t *testing.T) { function Test_App_Error_In_Fasthttp_Server (line 2317) | func Test_App_Error_In_Fasthttp_Server(t *testing.T) { function Test_App_New_Test_Parallel (line 2330) | func Test_App_New_Test_Parallel(t *testing.T) { function Test_App_ReadBodyStream (line 2346) | func Test_App_ReadBodyStream(t *testing.T) { function Test_App_DisablePreParseMultipartForm (line 2361) | func Test_App_DisablePreParseMultipartForm(t *testing.T) { function Test_App_Test_no_timeout_infinitely (line 2409) | func Test_App_Test_no_timeout_infinitely(t *testing.T) { function Test_App_Test_timeout (line 2444) | func Test_App_Test_timeout(t *testing.T) { function Test_App_Test_timeout_empty_response (line 2460) | func Test_App_Test_timeout_empty_response(t *testing.T) { function Test_App_Test_drop_empty_response (line 2479) | func Test_App_Test_drop_empty_response(t *testing.T) { function Test_App_Test_response_error (line 2494) | func Test_App_Test_response_error(t *testing.T) { type errorReadCloser (line 2520) | type errorReadCloser method Read (line 2524) | func (errorReadCloser) Read(_ []byte) (int, error) { method Close (line 2528) | func (errorReadCloser) Close() error { function Test_App_Test_ReadFail (line 2532) | func Test_App_Test_ReadFail(t *testing.T) { type doubleCloseBody (line 2566) | type doubleCloseBody struct method Read (line 2570) | func (b *doubleCloseBody) Read(_ []byte) (int, error) { method Close (line 2580) | func (b *doubleCloseBody) Close() error { function Test_App_Test_CloseFail (line 2589) | func Test_App_Test_CloseFail(t *testing.T) { function Test_App_SetTLSHandler (line 2621) | func Test_App_SetTLSHandler(t *testing.T) { function Test_App_AddCustomRequestMethod (line 2636) | func Test_App_AddCustomRequestMethod(t *testing.T) { function Test_App_GetRoutes (line 2649) | func Test_App_GetRoutes(t *testing.T) { function Test_Middleware_Route_Naming_With_Use (line 2679) | func Test_Middleware_Route_Naming_With_Use(t *testing.T) { function Test_Route_Naming_Issue_2671_2685 (line 2739) | func Test_Route_Naming_Issue_2671_2685(t *testing.T) { function Test_App_State (line 2816) | func Test_App_State(t *testing.T) { function Benchmark_Communication_Flow (line 2827) | func Benchmark_Communication_Flow(b *testing.B) { function Benchmark_Communication_Flow_Parallel (line 2850) | func Benchmark_Communication_Flow_Parallel(b *testing.B) { function Benchmark_Ctx_AcquireReleaseFlow (line 2879) | func Benchmark_Ctx_AcquireReleaseFlow(b *testing.B) { function acquireDefaultCtxForAppBenchmark (line 2903) | func acquireDefaultCtxForAppBenchmark(b *testing.B, app *App, fctx *fast... function Benchmark_Ctx_AcquireReleaseFlow_Parallel (line 2914) | func Benchmark_Ctx_AcquireReleaseFlow_Parallel(b *testing.B) { function TestErrorHandler_PicksRightOne (line 2941) | func TestErrorHandler_PicksRightOne(t *testing.T) { type groupIDResponse (line 3012) | type groupIDResponse struct function Test_App_Test_SmallTimeout_WithFailOnTimeoutFalse (line 3019) | func Test_App_Test_SmallTimeout_WithFailOnTimeoutFalse(t *testing.T) { function Test_App_Test_SmallTimeout_WithFailOnTimeoutTrue (line 3055) | func Test_App_Test_SmallTimeout_WithFailOnTimeoutTrue(t *testing.T) { FILE: bind.go type CustomBinder (line 18) | type CustomBinder interface type StructValidator (line 25) | type StructValidator interface type Bind (line 40) | type Bind struct method release (line 129) | func (b *Bind) release() { method WithoutAutoHandling (line 137) | func (b *Bind) WithoutAutoHandling() *Bind { method WithAutoHandling (line 146) | func (b *Bind) WithAutoHandling() *Bind { method SkipValidation (line 153) | func (b *Bind) SkipValidation(skip bool) *Bind { method returnErr (line 160) | func (b *Bind) returnErr(err error) error { method returnBindErr (line 171) | func (b *Bind) returnBindErr(err error, source string) error { method validateStruct (line 183) | func (b *Bind) validateStruct(out any) error { method Custom (line 214) | func (b *Bind) Custom(name string, dest any) error { method Header (line 230) | func (b *Bind) Header(out any) error { method RespHeader (line 245) | func (b *Bind) RespHeader(out any) error { method Cookie (line 261) | func (b *Bind) Cookie(out any) error { method Query (line 276) | func (b *Bind) Query(out any) error { method JSON (line 291) | func (b *Bind) JSON(out any) error { method CBOR (line 306) | func (b *Bind) CBOR(out any) error { method XML (line 320) | func (b *Bind) XML(out any) error { method Form (line 337) | func (b *Bind) Form(out any) error { method URI (line 352) | func (b *Bind) URI(out any) error { method MsgPack (line 366) | func (b *Bind) MsgPack(out any) error { method Body (line 385) | func (b *Bind) Body(out any) error { method All (line 422) | func (b *Bind) All(out any) error { constant BindSourceURI (line 48) | BindSourceURI = "uri" constant BindSourceQuery (line 49) | BindSourceQuery = "query" constant BindSourceHeader (line 50) | BindSourceHeader = "header" constant BindSourceCookie (line 51) | BindSourceCookie = "cookie" constant BindSourceBody (line 52) | BindSourceBody = "body" constant BindSourceRespHeader (line 53) | BindSourceRespHeader = "respHeader" type BindError (line 59) | type BindError struct method Error (line 65) | func (e *BindError) Error() string { method Unwrap (line 72) | func (e *BindError) Unwrap() error { function extractFieldFromError (line 76) | func extractFieldFromError(err error) string { function newBindError (line 102) | func newBindError(source string, raw error) *BindError { function AcquireBind (line 107) | func AcquireBind() *Bind { function ReleaseBind (line 117) | func ReleaseBind(b *Bind) { function releasePooledBinder (line 124) | func releasePooledBinder[T interface{ Reset() }](pool *sync.Pool, bind T) { function mergeStruct (line 459) | func mergeStruct(dst, src reflect.Value) { function isZero (line 474) | func isZero(value any) bool { FILE: bind_test.go constant helloWorld (line 26) | helloWorld = "hello world" function Test_returnErr (line 29) | func Test_returnErr(t *testing.T) { function Test_AcquireReleaseBind (line 38) | func Test_AcquireReleaseBind(t *testing.T) { function Test_BindError_Unwrap (line 54) | func Test_BindError_Unwrap(t *testing.T) { function Test_BindError_ErrorFormat (line 66) | func Test_BindError_ErrorFormat(t *testing.T) { function Test_BindError_FieldExtraction (line 84) | func Test_BindError_FieldExtraction(t *testing.T) { function Test_BindError_Sources (line 229) | func Test_BindError_Sources(t *testing.T) { function Test_BindError_All (line 322) | func Test_BindError_All(t *testing.T) { function Test_Bind_Query (line 350) | func Test_Bind_Query(t *testing.T) { function Test_Bind_Query_Map (line 433) | func Test_Bind_Query_Map(t *testing.T) { function Test_Bind_Query_WithSetParserDecoder (line 474) | func Test_Bind_Query_WithSetParserDecoder(t *testing.T) { function Test_Bind_Query_Schema (line 526) | func Test_Bind_Query_Schema(t *testing.T) { function Test_Bind_Header (line 642) | func Test_Bind_Header(t *testing.T) { function Test_Bind_Header_Map (line 717) | func Test_Bind_Header_Map(t *testing.T) { function Test_Bind_Header_WithSetParserDecoder (line 746) | func Test_Bind_Header_WithSetParserDecoder(t *testing.T) { function Test_Bind_Header_Schema (line 801) | func Test_Bind_Header_Schema(t *testing.T) { function Test_Bind_RespHeader (line 898) | func Test_Bind_RespHeader(t *testing.T) { function Test_Bind_RespHeader_Map (line 975) | func Test_Bind_RespHeader_Map(t *testing.T) { function Benchmark_Bind_Query (line 1004) | func Benchmark_Bind_Query(b *testing.B) { function Benchmark_Bind_Query_Default (line 1031) | func Benchmark_Bind_Query_Default(b *testing.B) { function Benchmark_Bind_Query_Map (line 1059) | func Benchmark_Bind_Query_Map(b *testing.B) { function Benchmark_Bind_Query_WithParseParam (line 1077) | func Benchmark_Bind_Query_WithParseParam(b *testing.B) { function Benchmark_Bind_Query_Comma (line 1106) | func Benchmark_Bind_Query_Comma(b *testing.B) { function Benchmark_Bind_Header (line 1131) | func Benchmark_Bind_Header(b *testing.B) { function Benchmark_Bind_Header_Map (line 1158) | func Benchmark_Bind_Header_Map(b *testing.B) { function Benchmark_Bind_RespHeader (line 1179) | func Benchmark_Bind_RespHeader(b *testing.B) { function Benchmark_Bind_RespHeader_Map (line 1206) | func Benchmark_Bind_RespHeader_Map(b *testing.B) { function Test_Bind_Body (line 1227) | func Test_Bind_Body(t *testing.T) { function Test_Bind_Body_WithSetParserDecoder (line 1446) | func Test_Bind_Body_WithSetParserDecoder(t *testing.T) { function Benchmark_Bind_Body_JSON (line 1497) | func Benchmark_Bind_Body_JSON(b *testing.B) { function Benchmark_Bind_Body_MsgPack (line 1525) | func Benchmark_Bind_Body_MsgPack(b *testing.B) { function Benchmark_Bind_Body_XML (line 1557) | func Benchmark_Bind_Body_XML(b *testing.B) { function Benchmark_Bind_Body_CBOR (line 1582) | func Benchmark_Bind_Body_CBOR(b *testing.B) { function Benchmark_Bind_Body_Form (line 1613) | func Benchmark_Bind_Body_Form(b *testing.B) { function Benchmark_Bind_Body_MultipartForm (line 1638) | func Benchmark_Bind_Body_MultipartForm(b *testing.B) { function Benchmark_Bind_Body_MultipartForm_Nested (line 1670) | func Benchmark_Bind_Body_MultipartForm_Nested(b *testing.B) { function Benchmark_Bind_Body_Form_Map (line 1716) | func Benchmark_Bind_Body_Form_Map(b *testing.B) { function Test_Bind_URI (line 1738) | func Test_Bind_URI(t *testing.T) { function Test_Bind_URI_Map (line 1762) | func Test_Bind_URI_Map(t *testing.T) { function Benchmark_Bind_URI (line 1783) | func Benchmark_Bind_URI(b *testing.B) { function Benchmark_Bind_URI_Map (line 1819) | func Benchmark_Bind_URI_Map(b *testing.B) { function Test_Bind_Cookie (line 1850) | func Test_Bind_Cookie(t *testing.T) { function Test_Bind_Cookie_Map (line 1928) | func Test_Bind_Cookie_Map(t *testing.T) { function Test_Bind_Cookie_WithSetParserDecoder (line 1959) | func Test_Bind_Cookie_WithSetParserDecoder(t *testing.T) { function Test_Bind_Cookie_Schema (line 2014) | func Test_Bind_Cookie_Schema(t *testing.T) { function Benchmark_Bind_Cookie (line 2112) | func Benchmark_Bind_Cookie(b *testing.B) { function Benchmark_Bind_Cookie_Map (line 2140) | func Benchmark_Bind_Cookie_Map(b *testing.B) { type customBinder (line 2163) | type customBinder struct method Name (line 2165) | func (*customBinder) Name() string { method MIMETypes (line 2169) | func (*customBinder) MIMETypes() []string { method Parse (line 2173) | func (*customBinder) Parse(c Ctx, out any) error { type customBinderReturningError (line 2178) | type customBinderReturningError struct method Name (line 2183) | func (*customBinderReturningError) Name() string { method MIMETypes (line 2187) | func (b *customBinderReturningError) MIMETypes() []string { method Parse (line 2194) | func (b *customBinderReturningError) Parse(_ Ctx, _ any) error { function Test_Bind_CustomBinder (line 2199) | func Test_Bind_CustomBinder(t *testing.T) { function Test_Bind_CustomBinder_Source (line 2223) | func Test_Bind_CustomBinder_Source(t *testing.T) { function Test_Bind_CustomBinder_Validation (line 2246) | func Test_Bind_CustomBinder_Validation(t *testing.T) { function Test_Bind_WithAutoHandling (line 2314) | func Test_Bind_WithAutoHandling(t *testing.T) { type structValidator (line 2329) | type structValidator struct method Validate (line 2331) | func (*structValidator) Validate(out any) error { type simpleQuery (line 2345) | type simpleQuery struct type countingStructValidator (line 2349) | type countingStructValidator struct method Validate (line 2353) | func (v *countingStructValidator) Validate(_ any) error { function Test_Bind_Form_Map_SkipsStructValidator (line 2360) | func Test_Bind_Form_Map_SkipsStructValidator(t *testing.T) { function Test_Bind_SkipValidation (line 2404) | func Test_Bind_SkipValidation(t *testing.T) { function Test_Bind_SkipValidation_Usage (line 2438) | func Test_Bind_SkipValidation_Usage(t *testing.T) { function Test_Bind_ValidateStruct_NilTarget (line 2501) | func Test_Bind_ValidateStruct_NilTarget(t *testing.T) { function Test_Bind_StructValidator (line 2516) | func Test_Bind_StructValidator(t *testing.T) { function Test_Bind_RepeatParserWithSameStruct (line 2530) | func Test_Bind_RepeatParserWithSameStruct(t *testing.T) { type RequestConfig (line 2587) | type RequestConfig struct method ApplyTo (line 2595) | func (rc *RequestConfig) ApplyTo(ctx Ctx) { function Test_Bind_All (line 2615) | func Test_Bind_All(t *testing.T) { function Test_Bind_All_Uri_Precedence (line 2764) | func Test_Bind_All_Uri_Precedence(t *testing.T) { function Test_Bind_All_Query_Precedence (line 2795) | func Test_Bind_All_Query_Precedence(t *testing.T) { function Test_Bind_All_StructValidator (line 2813) | func Test_Bind_All_StructValidator(t *testing.T) { function BenchmarkBind_All (line 2835) | func BenchmarkBind_All(b *testing.B) { FILE: binder/binder.go function GetFromThePool (line 81) | func GetFromThePool[T any](pool *sync.Pool) T { function PutToThePool (line 91) | func PutToThePool[T any](pool *sync.Pool, binder T) { FILE: binder/binder_test.go function Test_GetAndPutToThePool (line 13) | func Test_GetAndPutToThePool(t *testing.T) { function Test_Binders_ErrorPaths (line 35) | func Test_Binders_ErrorPaths(t *testing.T) { function Test_GetFieldCache_Panic (line 67) | func Test_GetFieldCache_Panic(t *testing.T) { function Test_parseToMap_defaultCase (line 72) | func Test_parseToMap_defaultCase(t *testing.T) { function Test_parse_function_maps (line 90) | func Test_parse_function_maps(t *testing.T) { function Test_SetParserDecoder_UnknownKeys (line 114) | func Test_SetParserDecoder_UnknownKeys(t *testing.T) { function Test_SetParserDecoder_CustomConverter (line 126) | func Test_SetParserDecoder_CustomConverter(t *testing.T) { function Test_formatBindData_typeMismatch (line 146) | func Test_formatBindData_typeMismatch(t *testing.T) { FILE: binder/cbor.go type CBORBinding (line 8) | type CBORBinding struct method Name (line 13) | func (*CBORBinding) Name() string { method Bind (line 18) | func (b *CBORBinding) Bind(body []byte, out any) error { method Reset (line 23) | func (b *CBORBinding) Reset() { function UnimplementedCborMarshal (line 29) | func UnimplementedCborMarshal(_ any) ([]byte, error) { function UnimplementedCborUnmarshal (line 35) | func UnimplementedCborUnmarshal(_ []byte, _ any) error { FILE: binder/cbor_test.go function Test_CBORBinder_Bind (line 10) | func Test_CBORBinder_Bind(t *testing.T) { function Benchmark_CBORBinder_Bind (line 63) | func Benchmark_CBORBinder_Bind(b *testing.B) { function Test_UnimplementedCborMarshal_Panics (line 93) | func Test_UnimplementedCborMarshal_Panics(t *testing.T) { function Test_UnimplementedCborUnmarshal_Panics (line 101) | func Test_UnimplementedCborUnmarshal_Panics(t *testing.T) { function Test_UnimplementedCborMarshal_PanicMessage (line 110) | func Test_UnimplementedCborMarshal_PanicMessage(t *testing.T) { function Test_UnimplementedCborUnmarshal_PanicMessage (line 121) | func Test_UnimplementedCborUnmarshal_PanicMessage(t *testing.T) { FILE: binder/cookie.go type CookieBinding (line 9) | type CookieBinding struct method Name (line 14) | func (*CookieBinding) Name() string { method Bind (line 19) | func (b *CookieBinding) Bind(req *fasthttp.Request, out any) error { method Reset (line 34) | func (b *CookieBinding) Reset() { FILE: binder/cookie_test.go function Test_CookieBinder_Bind (line 10) | func Test_CookieBinder_Bind(t *testing.T) { function Benchmark_CookieBinder_Bind (line 52) | func Benchmark_CookieBinder_Bind(b *testing.B) { function Test_CookieBinder_Bind_ParseError (line 89) | func Test_CookieBinder_Bind_ParseError(t *testing.T) { FILE: binder/form.go constant MIMEMultipartForm (line 11) | MIMEMultipartForm string = "multipart/form-data" type FormBinding (line 27) | type FormBinding struct method Name (line 32) | func (*FormBinding) Name() string { method Bind (line 37) | func (b *FormBinding) Bind(req *fasthttp.Request, out any) error { method bindMultipart (line 58) | func (b *FormBinding) bindMultipart(req *fasthttp.Request, out any) er... method Reset (line 88) | func (b *FormBinding) Reset() { function acquireFormMap (line 92) | func acquireFormMap() map[string][]string { function releaseFormMap (line 100) | func releaseFormMap(m map[string][]string) { function acquireFileHeaderMap (line 105) | func acquireFileHeaderMap() map[string][]*multipart.FileHeader { function releaseFileHeaderMap (line 113) | func releaseFileHeaderMap(m map[string][]*multipart.FileHeader) { function clearFormMap (line 118) | func clearFormMap(m map[string][]string) { function clearFileHeaderMap (line 122) | func clearFileHeaderMap(m map[string][]*multipart.FileHeader) { FILE: binder/form_test.go function Test_FormBinder_Bind (line 13) | func Test_FormBinder_Bind(t *testing.T) { function Test_FormBinder_Bind_ParseError (line 57) | func Test_FormBinder_Bind_ParseError(t *testing.T) { function Benchmark_FormBinder_Bind (line 71) | func Benchmark_FormBinder_Bind(b *testing.B) { function Test_FormBinder_BindMultipart (line 100) | func Test_FormBinder_BindMultipart(t *testing.T) { function Test_FormBinder_BindMultipart_ValueError (line 208) | func Test_FormBinder_BindMultipart_ValueError(t *testing.T) { function Test_FormBinder_BindMultipart_FileError (line 223) | func Test_FormBinder_BindMultipart_FileError(t *testing.T) { function Test_FormBinder_Bind_MapClearedBetweenRequests (line 241) | func Test_FormBinder_Bind_MapClearedBetweenRequests(t *testing.T) { function Test_FormBinder_BindMultipart_MapsClearedBetweenRequests (line 272) | func Test_FormBinder_BindMultipart_MapsClearedBetweenRequests(t *testing... function Benchmark_FormBinder_BindMultipart (line 324) | func Benchmark_FormBinder_BindMultipart(b *testing.B) { FILE: binder/header.go type HeaderBinding (line 9) | type HeaderBinding struct method Name (line 14) | func (*HeaderBinding) Name() string { method Bind (line 19) | func (b *HeaderBinding) Bind(req *fasthttp.Request, out any) error { method Reset (line 33) | func (b *HeaderBinding) Reset() { FILE: binder/header_test.go function Test_HeaderBinder_Bind (line 10) | func Test_HeaderBinder_Bind(t *testing.T) { function Benchmark_HeaderBinder_Bind (line 52) | func Benchmark_HeaderBinder_Bind(b *testing.B) { function Test_HeaderBinder_Bind_ParseError (line 89) | func Test_HeaderBinder_Bind_ParseError(t *testing.T) { FILE: binder/json.go type JSONBinding (line 8) | type JSONBinding struct method Name (line 13) | func (*JSONBinding) Name() string { method Bind (line 18) | func (b *JSONBinding) Bind(body []byte, out any) error { method Reset (line 23) | func (b *JSONBinding) Reset() { FILE: binder/json_test.go function Test_JSON_Binding_Bind (line 10) | func Test_JSON_Binding_Bind(t *testing.T) { function Benchmark_JSON_Binding_Bind (line 42) | func Benchmark_JSON_Binding_Bind(b *testing.B) { FILE: binder/mapping.go type ParserConfig (line 18) | type ParserConfig struct type ParserType (line 27) | type ParserType struct function getDecoderPool (line 40) | func getDecoderPool(tag string) *sync.Pool { function SetParserDecoder (line 53) | func SetParserDecoder(parserConfig ParserConfig) { function decoderBuilder (line 64) | func decoderBuilder(parserConfig ParserConfig) any { function init (line 77) | func init() { function parse (line 92) | func parse(aliasTag string, out any, data map[string][]string, files ...... function parseToStruct (line 110) | func parseToStruct(aliasTag string, out any, data map[string][]string, f... function parseToMap (line 128) | func parseToMap(target reflect.Value, data map[string][]string) error { function parseParamSquareBrackets (line 180) | func parseParamSquareBrackets(k string) (string, error) { function isStringKeyMap (line 218) | func isStringKeyMap(t reflect.Type) bool { function isExported (line 222) | func isExported(f *reflect.StructField) bool { function fieldName (line 229) | func fieldName(f *reflect.StructField, aliasTag string) string { type fieldInfo (line 244) | type fieldInfo struct function unwrapType (line 249) | func unwrapType(t reflect.Type) reflect.Type { function getFieldCache (line 266) | func getFieldCache(aliasTag string) *sync.Map { function buildFieldInfo (line 285) | func buildFieldInfo(t reflect.Type, aliasTag string) fieldInfo { function equalFieldType (line 314) | func equalFieldType(out any, kind reflect.Kind, key, aliasTag string) bo... function FilterFlags (line 349) | func FilterFlags(content string) string { function formatBindData (line 356) | func formatBindData[T, K any](aliasTag string, out any, data map[string]... function assignBindData (line 397) | func assignBindData(aliasTag string, out any, data map[string][]string, ... FILE: binder/mapping_test.go function Test_EqualFieldType (line 15) | func Test_EqualFieldType(t *testing.T) { function Test_ParseParamSquareBrackets (line 76) | func Test_ParseParamSquareBrackets(t *testing.T) { function Test_parseToMap (line 146) | func Test_parseToMap(t *testing.T) { function Test_FilterFlags (line 195) | func Test_FilterFlags(t *testing.T) { function Benchmark_FilterFlags (line 231) | func Benchmark_FilterFlags(b *testing.B) { function TestFormatBindData (line 246) | func TestFormatBindData(t *testing.T) { function TestAssignBindData (line 313) | func TestAssignBindData(t *testing.T) { function Test_parseToStruct_MismatchedData (line 337) | func Test_parseToStruct_MismatchedData(t *testing.T) { function Test_formatBindData_ErrorCases (line 355) | func Test_formatBindData_ErrorCases(t *testing.T) { function Test_decoderBuilder (line 399) | func Test_decoderBuilder(t *testing.T) { function Test_parseToMap_Extended (line 429) | func Test_parseToMap_Extended(t *testing.T) { function Test_decoderPoolMapInit (line 450) | func Test_decoderPoolMapInit(t *testing.T) { function TestSetParserDecoderConcurrentAccess (line 462) | func TestSetParserDecoderConcurrentAccess(t *testing.T) { function Test_getFieldCache (line 534) | func Test_getFieldCache(t *testing.T) { function Test_EqualFieldType_Map (line 545) | func Test_EqualFieldType_Map(t *testing.T) { function Test_equalFieldType_CacheTypeMismatch (line 551) | func Test_equalFieldType_CacheTypeMismatch(t *testing.T) { function Test_buildFieldInfo_Unexported (line 563) | func Test_buildFieldInfo_Unexported(t *testing.T) { function Test_formatBindData_BracketNotationSuccess (line 580) | func Test_formatBindData_BracketNotationSuccess(t *testing.T) { function Test_formatBindData_FileHeaderTypeMismatch (line 589) | func Test_formatBindData_FileHeaderTypeMismatch(t *testing.T) { function Benchmark_equalFieldType (line 598) | func Benchmark_equalFieldType(b *testing.B) { FILE: binder/msgpack.go type MsgPackBinding (line 8) | type MsgPackBinding struct method Name (line 13) | func (*MsgPackBinding) Name() string { method Bind (line 18) | func (b *MsgPackBinding) Bind(body []byte, out any) error { method Reset (line 23) | func (b *MsgPackBinding) Reset() { function UnimplementedMsgpackMarshal (line 29) | func UnimplementedMsgpackMarshal(_ any) ([]byte, error) { function UnimplementedMsgpackUnmarshal (line 35) | func UnimplementedMsgpackUnmarshal(_ []byte, _ any) error { FILE: binder/msgpack_test.go function Test_Msgpack_Binding_Bind (line 10) | func Test_Msgpack_Binding_Bind(t *testing.T) { function Benchmark_Msgpack_Binding_Bind (line 55) | func Benchmark_Msgpack_Binding_Bind(b *testing.B) { function Test_UnimplementedMsgpackMarshal_Panics (line 89) | func Test_UnimplementedMsgpackMarshal_Panics(t *testing.T) { function Test_UnimplementedMsgpackUnmarshal_Panics (line 98) | func Test_UnimplementedMsgpackUnmarshal_Panics(t *testing.T) { function Test_UnimplementedMsgpackMarshal_PanicMessage (line 108) | func Test_UnimplementedMsgpackMarshal_PanicMessage(t *testing.T) { function Test_UnimplementedMsgpackUnmarshal_PanicMessage (line 121) | func Test_UnimplementedMsgpackUnmarshal_PanicMessage(t *testing.T) { FILE: binder/query.go type QueryBinding (line 9) | type QueryBinding struct method Name (line 14) | func (*QueryBinding) Name() string { method Bind (line 19) | func (b *QueryBinding) Bind(reqCtx *fasthttp.Request, out any) error { method Reset (line 33) | func (b *QueryBinding) Reset() { FILE: binder/query_test.go function Test_QueryBinder_Bind (line 10) | func Test_QueryBinder_Bind(t *testing.T) { function Benchmark_QueryBinder_Bind (line 53) | func Benchmark_QueryBinder_Bind(b *testing.B) { function Test_QueryBinder_Bind_PointerSlices (line 88) | func Test_QueryBinder_Bind_PointerSlices(t *testing.T) { FILE: binder/resp_header.go type RespHeaderBinding (line 9) | type RespHeaderBinding struct method Name (line 14) | func (*RespHeaderBinding) Name() string { method Bind (line 19) | func (b *RespHeaderBinding) Bind(resp *fasthttp.Response, out any) err... method Reset (line 34) | func (b *RespHeaderBinding) Reset() { FILE: binder/resp_header_test.go function Test_RespHeaderBinder_Bind (line 10) | func Test_RespHeaderBinder_Bind(t *testing.T) { function Benchmark_RespHeaderBinder_Bind (line 45) | func Benchmark_RespHeaderBinder_Bind(b *testing.B) { function Test_RespHeaderBinder_Bind_ParseError (line 79) | func Test_RespHeaderBinder_Bind_ParseError(t *testing.T) { FILE: binder/uri.go type URIBinding (line 4) | type URIBinding struct method Name (line 7) | func (*URIBinding) Name() string { method Bind (line 12) | func (b *URIBinding) Bind(params []string, paramsFunc func(key string,... method Reset (line 22) | func (*URIBinding) Reset() { FILE: binder/uri_test.go function Test_URIBinding_Bind (line 9) | func Test_URIBinding_Bind(t *testing.T) { function Benchmark_URIBinding_Bind (line 43) | func Benchmark_URIBinding_Bind(b *testing.B) { FILE: binder/xml.go type XMLBinding (line 10) | type XMLBinding struct method Name (line 15) | func (*XMLBinding) Name() string { method Bind (line 20) | func (b *XMLBinding) Bind(body []byte, out any) error { method Reset (line 29) | func (b *XMLBinding) Reset() { FILE: binder/xml_test.go function Test_XMLBinding_Bind (line 10) | func Test_XMLBinding_Bind(t *testing.T) { function Test_XMLBinding_Bind_error (line 59) | func Test_XMLBinding_Bind_error(t *testing.T) { function Benchmark_XMLBinding_Bind (line 82) | func Benchmark_XMLBinding_Bind(b *testing.B) { FILE: client/client.go type Client (line 37) | type Client struct method Do (line 73) | func (c *Client) Do(req *fasthttp.Request, resp *fasthttp.Response) er... method DoTimeout (line 79) | func (c *Client) DoTimeout(req *fasthttp.Request, resp *fasthttp.Respo... method DoDeadline (line 85) | func (c *Client) DoDeadline(req *fasthttp.Request, resp *fasthttp.Resp... method DoRedirects (line 90) | func (c *Client) DoRedirects(req *fasthttp.Request, resp *fasthttp.Res... method CloseIdleConnections (line 95) | func (c *Client) CloseIdleConnections() { method currentTLSConfig (line 99) | func (c *Client) currentTLSConfig() *tls.Config { method applyTLSConfig (line 103) | func (c *Client) applyTLSConfig(config *tls.Config) { method applyDial (line 107) | func (c *Client) applyDial(dial fasthttp.DialFunc) { method FasthttpClient (line 112) | func (c *Client) FasthttpClient() *fasthttp.Client { method HostClient (line 120) | func (c *Client) HostClient() *fasthttp.HostClient { method LBClient (line 128) | func (c *Client) LBClient() *fasthttp.LBClient { method R (line 136) | func (c *Client) R() *Request { method RequestHook (line 141) | func (c *Client) RequestHook() []RequestHook { method AddRequestHook (line 146) | func (c *Client) AddRequestHook(h ...RequestHook) *Client { method ResponseHook (line 155) | func (c *Client) ResponseHook() []ResponseHook { method AddResponseHook (line 160) | func (c *Client) AddResponseHook(h ...ResponseHook) *Client { method JSONMarshal (line 169) | func (c *Client) JSONMarshal() utils.JSONMarshal { method SetJSONMarshal (line 174) | func (c *Client) SetJSONMarshal(f utils.JSONMarshal) *Client { method JSONUnmarshal (line 180) | func (c *Client) JSONUnmarshal() utils.JSONUnmarshal { method SetJSONUnmarshal (line 185) | func (c *Client) SetJSONUnmarshal(f utils.JSONUnmarshal) *Client { method XMLMarshal (line 191) | func (c *Client) XMLMarshal() utils.XMLMarshal { method SetXMLMarshal (line 196) | func (c *Client) SetXMLMarshal(f utils.XMLMarshal) *Client { method XMLUnmarshal (line 202) | func (c *Client) XMLUnmarshal() utils.XMLUnmarshal { method SetXMLUnmarshal (line 207) | func (c *Client) SetXMLUnmarshal(f utils.XMLUnmarshal) *Client { method CBORMarshal (line 213) | func (c *Client) CBORMarshal() utils.CBORMarshal { method SetCBORMarshal (line 218) | func (c *Client) SetCBORMarshal(f utils.CBORMarshal) *Client { method CBORUnmarshal (line 224) | func (c *Client) CBORUnmarshal() utils.CBORUnmarshal { method SetCBORUnmarshal (line 229) | func (c *Client) SetCBORUnmarshal(f utils.CBORUnmarshal) *Client { method TLSConfig (line 236) | func (c *Client) TLSConfig() *tls.Config { method SetTLSConfig (line 249) | func (c *Client) SetTLSConfig(config *tls.Config) *Client { method SetCertificates (line 258) | func (c *Client) SetCertificates(certs ...tls.Certificate) *Client { method SetRootCertificate (line 265) | func (c *Client) SetRootCertificate(path string) *Client { method SetRootCertificateFromString (line 295) | func (c *Client) SetRootCertificateFromString(pem string) *Client { method SetProxyURL (line 310) | func (c *Client) SetProxyURL(proxyURL string) error { method RetryConfig (line 319) | func (c *Client) RetryConfig() *RetryConfig { method SetRetryConfig (line 324) | func (c *Client) SetRetryConfig(config *RetryConfig) *Client { method BaseURL (line 333) | func (c *Client) BaseURL() string { method SetBaseURL (line 338) | func (c *Client) SetBaseURL(url string) *Client { method Header (line 344) | func (c *Client) Header(key string) []string { method AddHeader (line 349) | func (c *Client) AddHeader(key, val string) *Client { method SetHeader (line 355) | func (c *Client) SetHeader(key, val string) *Client { method AddHeaders (line 361) | func (c *Client) AddHeaders(h map[string][]string) *Client { method SetHeaders (line 369) | func (c *Client) SetHeaders(h map[string]string) *Client { method Param (line 375) | func (c *Client) Param(key string) []string { method AddParam (line 387) | func (c *Client) AddParam(key, val string) *Client { method SetParam (line 393) | func (c *Client) SetParam(key, val string) *Client { method AddParams (line 399) | func (c *Client) AddParams(m map[string][]string) *Client { method SetParams (line 405) | func (c *Client) SetParams(m map[string]string) *Client { method SetParamsWithStruct (line 411) | func (c *Client) SetParamsWithStruct(v any) *Client { method DelParams (line 417) | func (c *Client) DelParams(key ...string) *Client { method SetUserAgent (line 425) | func (c *Client) SetUserAgent(ua string) *Client { method SetReferer (line 431) | func (c *Client) SetReferer(r string) *Client { method DisablePathNormalizing (line 437) | func (c *Client) DisablePathNormalizing() bool { method SetDisablePathNormalizing (line 442) | func (c *Client) SetDisablePathNormalizing(disable bool) *Client { method PathParam (line 448) | func (c *Client) PathParam(key string) string { method SetPathParam (line 456) | func (c *Client) SetPathParam(key, val string) *Client { method SetPathParams (line 462) | func (c *Client) SetPathParams(m map[string]string) *Client { method SetPathParamsWithStruct (line 468) | func (c *Client) SetPathParamsWithStruct(v any) *Client { method DelPathParams (line 474) | func (c *Client) DelPathParams(key ...string) *Client { method Cookie (line 480) | func (c *Client) Cookie(key string) string { method SetCookie (line 488) | func (c *Client) SetCookie(key, val string) *Client { method SetCookies (line 494) | func (c *Client) SetCookies(m map[string]string) *Client { method SetCookiesWithStruct (line 500) | func (c *Client) SetCookiesWithStruct(v any) *Client { method DelCookies (line 506) | func (c *Client) DelCookies(key ...string) *Client { method SetTimeout (line 512) | func (c *Client) SetTimeout(t time.Duration) *Client { method Debug (line 518) | func (c *Client) Debug() *Client { method DisableDebug (line 524) | func (c *Client) DisableDebug() *Client { method StreamResponseBody (line 530) | func (c *Client) StreamResponseBody() bool { method SetStreamResponseBody (line 538) | func (c *Client) SetStreamResponseBody(enable bool) *Client { method SetCookieJar (line 544) | func (c *Client) SetCookieJar(cookieJar *CookieJar) *Client { method Get (line 550) | func (c *Client) Get(url string, cfg ...Config) (*Response, error) { method Post (line 557) | func (c *Client) Post(url string, cfg ...Config) (*Response, error) { method Head (line 564) | func (c *Client) Head(url string, cfg ...Config) (*Response, error) { method Put (line 571) | func (c *Client) Put(url string, cfg ...Config) (*Response, error) { method Delete (line 578) | func (c *Client) Delete(url string, cfg ...Config) (*Response, error) { method Options (line 585) | func (c *Client) Options(url string, cfg ...Config) (*Response, error) { method Patch (line 592) | func (c *Client) Patch(url string, cfg ...Config) (*Response, error) { method Custom (line 599) | func (c *Client) Custom(url, method string, cfg ...Config) (*Response,... method SetDial (line 606) | func (c *Client) SetDial(dial fasthttp.DialFunc) *Client { method SetLogger (line 615) | func (c *Client) SetLogger(logger log.CommonLogger) *Client { method Logger (line 624) | func (c *Client) Logger() log.CommonLogger { method Reset (line 631) | func (c *Client) Reset() { type Config (line 655) | type Config struct function setConfigToRequest (line 672) | func setConfigToRequest(req *Request, config ...Config) { function init (line 747) | func init() { function New (line 752) | func New() *Client { function NewWithClient (line 760) | func NewWithClient(c *fasthttp.Client) *Client { function NewWithHostClient (line 768) | func NewWithHostClient(c *fasthttp.HostClient) *Client { function NewWithLBClient (line 776) | func NewWithLBClient(c *fasthttp.LBClient) *Client { function newClient (line 783) | func newClient(transport httpClientTransport) *Client { function C (line 810) | func C() *Client { function Replace (line 815) | func Replace(c *Client) func() { function Get (line 831) | func Get(url string, cfg ...Config) (*Response, error) { function Post (line 836) | func Post(url string, cfg ...Config) (*Response, error) { function Head (line 841) | func Head(url string, cfg ...Config) (*Response, error) { function Put (line 846) | func Put(url string, cfg ...Config) (*Response, error) { function Delete (line 851) | func Delete(url string, cfg ...Config) (*Response, error) { function Options (line 856) | func Options(url string, cfg ...Config) (*Response, error) { function Patch (line 861) | func Patch(url string, cfg ...Config) (*Response, error) { FILE: client/client_test.go function startTestServerWithPort (line 29) | func startTestServerWithPort(t *testing.T, beforeStarting func(app *fibe... function Test_New_With_Client (line 62) | func Test_New_With_Client(t *testing.T) { function Test_New_With_HostClient (line 85) | func Test_New_With_HostClient(t *testing.T) { function Test_New_With_LBClient (line 108) | func Test_New_With_LBClient(t *testing.T) { function TestClientUnderlyingTransports (line 137) | func TestClientUnderlyingTransports(t *testing.T) { function TestClientCBORUnmarshalOverride (line 158) | func TestClientCBORUnmarshalOverride(t *testing.T) { function TestClientSetRootCertificateErrors (line 182) | func TestClientSetRootCertificateErrors(t *testing.T) { function TestClientSetRootCertificateFromStringError (line 199) | func TestClientSetRootCertificateFromStringError(t *testing.T) { function TestClientLoggerAccessors (line 208) | func TestClientLoggerAccessors(t *testing.T) { function TestClientResetClearsState (line 218) | func TestClientResetClearsState(t *testing.T) { function Test_Client_Add_Hook (line 259) | func Test_Client_Add_Hook(t *testing.T) { function Test_Client_HostClient_Behavior (line 306) | func Test_Client_HostClient_Behavior(t *testing.T) { function Test_Client_LBClient_Behavior (line 464) | func Test_Client_LBClient_Behavior(t *testing.T) { function Test_Client_Add_Hook_CheckOrder (line 653) | func Test_Client_Add_Hook_CheckOrder(t *testing.T) { function Test_Client_Marshal (line 680) | func Test_Client_Marshal(t *testing.T) { function Test_Client_SetBaseURL (line 805) | func Test_Client_SetBaseURL(t *testing.T) { function Test_Client_Invalid_URL (line 813) | func Test_Client_Invalid_URL(t *testing.T) { function Test_Client_Unsupported_Protocol (line 831) | func Test_Client_Unsupported_Protocol(t *testing.T) { function Test_Client_ConcurrencyRequests (line 841) | func Test_Client_ConcurrencyRequests(t *testing.T) { function Test_Get (line 867) | func Test_Get(t *testing.T) { function Test_Head (line 907) | func Test_Head(t *testing.T) { function Test_Post (line 949) | func Test_Post(t *testing.T) { function Test_Put (line 1006) | func Test_Put(t *testing.T) { function Test_Delete (line 1062) | func Test_Delete(t *testing.T) { function Test_Options (line 1121) | func Test_Options(t *testing.T) { function Test_Patch (line 1172) | func Test_Patch(t *testing.T) { function Test_Client_UserAgent (line 1230) | func Test_Client_UserAgent(t *testing.T) { function Test_Client_Header (line 1281) | func Test_Client_Header(t *testing.T) { function Test_Client_Header_With_Server (line 1356) | func Test_Client_Header_With_Server(t *testing.T) { function Test_Client_Cookie (line 1382) | func Test_Client_Cookie(t *testing.T) { function Test_Client_Cookie_With_Server (line 1444) | func Test_Client_Cookie_With_Server(t *testing.T) { function Test_Client_CookieJar (line 1464) | func Test_Client_CookieJar(t *testing.T) { function Test_Client_CookieJar_Response (line 1483) | func Test_Client_CookieJar_Response(t *testing.T) { function Test_Client_Referer (line 1589) | func Test_Client_Referer(t *testing.T) { function Test_Client_QueryParam (line 1601) | func Test_Client_QueryParam(t *testing.T) { function Test_Client_QueryParam_With_Server (line 1726) | func Test_Client_QueryParam_With_Server(t *testing.T) { function Test_Client_PathParam (line 1742) | func Test_Client_PathParam(t *testing.T) { function Test_Client_PathParam_With_Server (line 1804) | func Test_Client_PathParam_With_Server(t *testing.T) { function Test_Client_TLS (line 1822) | func Test_Client_TLS(t *testing.T) { function Test_Client_TLS_Error (line 1855) | func Test_Client_TLS_Error(t *testing.T) { function Test_Client_TLS_Empty_TLSConfig (line 1889) | func Test_Client_TLS_Empty_TLSConfig(t *testing.T) { function Test_Client_SetCertificates (line 1920) | func Test_Client_SetCertificates(t *testing.T) { function Test_Client_SetRootCertificate (line 1930) | func Test_Client_SetRootCertificate(t *testing.T) { function Test_Client_SetRootCertificateFromString (line 1937) | func Test_Client_SetRootCertificateFromString(t *testing.T) { function Test_Client_R (line 1951) | func Test_Client_R(t *testing.T) { function Test_Replace (line 1961) | func Test_Replace(t *testing.T) { function Test_Set_Config_To_Request (line 1996) | func Test_Set_Config_To_Request(t *testing.T) { function Test_Client_SetProxyURL (line 2156) | func Test_Client_SetProxyURL(t *testing.T) { function Test_Client_SetRetryConfig (line 2241) | func Test_Client_SetRetryConfig(t *testing.T) { function Benchmark_Client_Request (line 2258) | func Benchmark_Client_Request(b *testing.B) { function Benchmark_Client_Request_Parallel (line 2279) | func Benchmark_Client_Request_Parallel(b *testing.B) { function Benchmark_Client_Request_Send_ContextCancel (line 2303) | func Benchmark_Client_Request_Send_ContextCancel(b *testing.B) { function Test_Client_StreamResponseBody (line 2349) | func Test_Client_StreamResponseBody(t *testing.T) { FILE: client/cookiejar.go function AcquireCookieJar (line 24) | func AcquireCookieJar() *CookieJar { function ReleaseCookieJar (line 34) | func ReleaseCookieJar(c *CookieJar) { type CookieJar (line 40) | type CookieJar struct method Get (line 50) | func (cj *CookieJar) Get(uri *fasthttp.URI) []*fasthttp.Cookie { method getByHostAndPath (line 60) | func (cj *CookieJar) getByHostAndPath(host, path []byte, secure bool) ... method getCookiesByHost (line 79) | func (cj *CookieJar) getCookiesByHost(host string) []*fasthttp.Cookie { method cookiesForRequest (line 103) | func (cj *CookieJar) cookiesForRequest(host string, path []byte, secur... method Set (line 143) | func (cj *CookieJar) Set(uri *fasthttp.URI, cookies ...*fasthttp.Cooki... method SetByHost (line 154) | func (cj *CookieJar) SetByHost(host []byte, cookies ...*fasthttp.Cooki... method SetKeyValue (line 195) | func (cj *CookieJar) SetKeyValue(host, key, value string) { method SetKeyValueBytes (line 206) | func (cj *CookieJar) SetKeyValueBytes(host string, key, value []byte) { method dumpCookiesToReq (line 215) | func (cj *CookieJar) dumpCookiesToReq(req *fasthttp.Request) { method parseCookiesFromResp (line 226) | func (cj *CookieJar) parseCookiesFromResp(host, _ []byte, resp *fastht... method Release (line 281) | func (cj *CookieJar) Release() { function searchCookieByKeyAndPath (line 294) | func searchCookieByKeyAndPath(key, path []byte, cookies []*fasthttp.Cook... function pathMatch (line 307) | func pathMatch(reqPath, cookiePath []byte) bool { function domainMatch (line 327) | func domainMatch(host, domain string) bool { FILE: client/cookiejar_test.go function checkKeyValue (line 12) | func checkKeyValue(t *testing.T, cj *CookieJar, cookie *fasthttp.Cookie,... function Test_CookieJarGet (line 25) | func Test_CookieJarGet(t *testing.T) { function Test_CookieJarGetExpired (line 92) | func Test_CookieJarGetExpired(t *testing.T) { function Test_CookieJarSet (line 111) | func Test_CookieJarSet(t *testing.T) { function Test_CookieJarSetRepeatedCookieKeys (line 128) | func Test_CookieJarSetRepeatedCookieKeys(t *testing.T) { function Test_CookieJarSetKeyValue (line 156) | func Test_CookieJarSetKeyValue(t *testing.T) { function Test_CookieJarGetFromResponse (line 174) | func Test_CookieJarGetFromResponse(t *testing.T) { function Test_CookieJar_HostPort (line 215) | func Test_CookieJar_HostPort(t *testing.T) { function Test_CookieJar_Domain (line 238) | func Test_CookieJar_Domain(t *testing.T) { function Test_CookieJar_Secure (line 262) | func Test_CookieJar_Secure(t *testing.T) { function Test_CookieJar_PathMatch (line 289) | func Test_CookieJar_PathMatch(t *testing.T) { FILE: client/core.go constant boundary (line 20) | boundary = "FiberFormBoundary" type RequestHook (line 24) | type RequestHook type ResponseHook (line 29) | type ResponseHook function addMissingPort (line 36) | func addMissingPort(addr string, isTLS bool) string { //revive:disable-l... type core (line 48) | type core struct method getRetryConfig (line 55) | func (c *core) getRetryConfig() *RetryConfig { method execFunc (line 74) | func (c *core) execFunc() (*Response, error) { method preHooks (line 156) | func (c *core) preHooks() error { method afterHooks (line 176) | func (c *core) afterHooks(resp *Response) error { method timeout (line 196) | func (c *core) timeout() context.CancelFunc { method execute (line 209) | func (c *core) execute(ctx context.Context, client *Client, req *Reque... function acquireResponseChan (line 249) | func acquireResponseChan() chan *Response { function releaseResponseChan (line 262) | func releaseResponseChan(ch chan *Response) { function acquireErrChan (line 274) | func acquireErrChan() chan error { function releaseErrChan (line 287) | func releaseErrChan(ch chan error) { function newCore (line 292) | func newCore() *core { FILE: client/core_test.go function Test_AddMissing_Port (line 21) | func Test_AddMissing_Port(t *testing.T) { function Test_Exec_Func (line 64) | func Test_Exec_Func(t *testing.T) { function Test_Execute (line 216) | func Test_Execute(t *testing.T) { type blockingErrTransport (line 330) | type blockingErrTransport struct method Do (line 351) | func (b *blockingErrTransport) Do(_ *fasthttp.Request, _ *fasthttp.Res... method DoTimeout (line 358) | func (b *blockingErrTransport) DoTimeout(req *fasthttp.Request, resp *... method DoDeadline (line 362) | func (b *blockingErrTransport) DoDeadline(req *fasthttp.Request, resp ... method DoRedirects (line 366) | func (b *blockingErrTransport) DoRedirects(req *fasthttp.Request, resp... method CloseIdleConnections (line 370) | func (*blockingErrTransport) CloseIdleConnections() { method TLSConfig (line 373) | func (*blockingErrTransport) TLSConfig() *tls.Config { method SetTLSConfig (line 377) | func (*blockingErrTransport) SetTLSConfig(_ *tls.Config) { method SetDial (line 380) | func (*blockingErrTransport) SetDial(_ fasthttp.DialFunc) { method Client (line 383) | func (*blockingErrTransport) Client() any { method StreamResponseBody (line 387) | func (*blockingErrTransport) StreamResponseBody() bool { method SetStreamResponseBody (line 391) | func (*blockingErrTransport) SetStreamResponseBody(_ bool) { method release (line 394) | func (b *blockingErrTransport) release() { function newBlockingErrTransport (line 342) | func newBlockingErrTransport(err error) *blockingErrTransport { function Test_Core_RequestBodyStream (line 398) | func Test_Core_RequestBodyStream(t *testing.T) { FILE: client/helper_test.go type testServer (line 15) | type testServer struct method stop (line 51) | func (ts *testServer) stop() { method dial (line 65) | func (ts *testServer) dial() func(addr string) (net.Conn, error) { function startTestServer (line 22) | func startTestServer(tb testing.TB, beforeStarting func(app *fiber.App))... function createHelperServer (line 73) | func createHelperServer(tb testing.TB) (app *fiber.App, dial func(addr s... function testRequest (line 90) | func testRequest(t *testing.T, handler fiber.Handler, wrapAgent func(age... function testRequestFail (line 117) | func testRequestFail(t *testing.T, handler fiber.Handler, wrapAgent func... function testClient (line 141) | func testClient(t *testing.T, handler fiber.Handler, wrapAgent func(agen... FILE: client/hooks.go constant headerAccept (line 29) | headerAccept = "Accept" constant applicationJSON (line 30) | applicationJSON = "application/json" constant applicationCBOR (line 31) | applicationCBOR = "application/cbor" constant applicationXML (line 32) | applicationXML = "application/xml" constant applicationForm (line 33) | applicationForm = "application/x-www-form-urlencoded" constant multipartFormData (line 34) | multipartFormData = "multipart/form-data" constant letterBytes (line 36) | letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234... function unsafeRandString (line 41) | func unsafeRandString(n int) (string, error) { function parserRequestURL (line 72) | func parserRequestURL(c *Client, req *Request) error { function parserRequestHeader (line 122) | func parserRequestHeader(c *Client, req *Request) error { function parserRequestBody (line 196) | func parserRequestBody(c *Client, req *Request) error { function parserRequestBodyFile (line 236) | func parserRequestBodyFile(req *Request) error { function addFormFile (line 293) | func addFormFile(mw *multipart.Writer, f *File, fileBuf *[]byte) error { function parserResponseCookie (line 320) | func parserResponseCookie(c *Client, resp *Response, req *Request) error { function logger (line 345) | func logger(c *Client, resp *Response, req *Request) error { FILE: client/hooks_test.go function Test_Rand_String (line 21) | func Test_Rand_String(t *testing.T) { function Test_Parser_Request_URL (line 59) | func Test_Parser_Request_URL(t *testing.T) { function Test_Parser_Request_Header (line 246) | func Test_Parser_Request_Header(t *testing.T) { function Test_Parser_Request_Body (line 469) | func Test_Parser_Request_Body(t *testing.T) { type dummyLogger (line 638) | type dummyLogger struct method Trace (line 642) | func (*dummyLogger) Trace(_ ...any) {} method Debug (line 644) | func (*dummyLogger) Debug(_ ...any) {} method Info (line 646) | func (*dummyLogger) Info(_ ...any) {} method Warn (line 648) | func (*dummyLogger) Warn(_ ...any) {} method Error (line 650) | func (*dummyLogger) Error(_ ...any) {} method Fatal (line 652) | func (*dummyLogger) Fatal(_ ...any) {} method Panic (line 654) | func (*dummyLogger) Panic(_ ...any) {} method Tracef (line 656) | func (*dummyLogger) Tracef(_ string, _ ...any) {} method Debugf (line 658) | func (l *dummyLogger) Debugf(format string, v ...any) { method Infof (line 662) | func (*dummyLogger) Infof(_ string, _ ...any) {} method Warnf (line 664) | func (*dummyLogger) Warnf(_ string, _ ...any) {} method Errorf (line 666) | func (*dummyLogger) Errorf(_ string, _ ...any) {} method Fatalf (line 668) | func (*dummyLogger) Fatalf(_ string, _ ...any) {} method Panicf (line 670) | func (*dummyLogger) Panicf(_ string, _ ...any) {} method Tracew (line 672) | func (*dummyLogger) Tracew(_ string, _ ...any) {} method Debugw (line 674) | func (*dummyLogger) Debugw(_ string, _ ...any) {} method Infow (line 676) | func (*dummyLogger) Infow(_ string, _ ...any) {} method Warnw (line 678) | func (*dummyLogger) Warnw(_ string, _ ...any) {} method Errorw (line 680) | func (*dummyLogger) Errorw(_ string, _ ...any) {} method Fatalw (line 682) | func (*dummyLogger) Fatalw(_ string, _ ...any) {} method Panicw (line 684) | func (*dummyLogger) Panicw(_ string, _ ...any) {} function Test_Client_Logger_Debug (line 686) | func Test_Client_Logger_Debug(t *testing.T) { function Test_Client_Logger_DisableDebug (line 723) | func Test_Client_Logger_DisableDebug(t *testing.T) { function Benchmark_Parser_Request_Body_File (line 759) | func Benchmark_Parser_Request_Body_File(b *testing.B) { function newBenchmarkRequest (line 793) | func newBenchmarkRequest(formValues map[string]string, fileContents [][]... function releaseBenchmarkRequest (line 818) | func releaseBenchmarkRequest(req *Request) { FILE: client/request.go type WithStruct (line 24) | type WithStruct interface type bodyType (line 30) | type bodyType constant noBody (line 34) | noBody bodyType = iota constant jsonBody (line 35) | jsonBody constant xmlBody (line 36) | xmlBody constant formBody (line 37) | formBody constant filesBody (line 38) | filesBody constant rawBody (line 39) | rawBody constant cborBody (line 40) | cborBody type Request (line 46) | type Request struct method Method (line 76) | func (r *Request) Method() string { method SetMethod (line 82) | func (r *Request) SetMethod(method string) *Request { method URL (line 88) | func (r *Request) URL() string { method SetURL (line 93) | func (r *Request) SetURL(url string) *Request { method Client (line 99) | func (r *Request) Client() *Client { method SetClient (line 104) | func (r *Request) SetClient(c *Client) *Request { method Context (line 115) | func (r *Request) Context() context.Context { method SetContext (line 124) | func (r *Request) SetContext(ctx context.Context) *Request { method Header (line 130) | func (r *Request) Header(key string) []string { method Headers (line 160) | func (r *Request) Headers() iter.Seq2[string, []string] { method AddHeader (line 185) | func (r *Request) AddHeader(key, val string) *Request { method SetHeader (line 191) | func (r *Request) SetHeader(key, val string) *Request { method AddHeaders (line 198) | func (r *Request) AddHeaders(h map[string][]string) *Request { method SetHeaders (line 204) | func (r *Request) SetHeaders(h map[string]string) *Request { method Param (line 210) | func (r *Request) Param(key string) []string { method Params (line 224) | func (r *Request) Params() iter.Seq2[string, []string] { method AddParam (line 254) | func (r *Request) AddParam(key, val string) *Request { method SetParam (line 260) | func (r *Request) SetParam(key, val string) *Request { method AddParams (line 266) | func (r *Request) AddParams(m map[string][]string) *Request { method SetParams (line 272) | func (r *Request) SetParams(m map[string]string) *Request { method SetParamsWithStruct (line 278) | func (r *Request) SetParamsWithStruct(v any) *Request { method DelParams (line 284) | func (r *Request) DelParams(key ...string) *Request { method UserAgent (line 292) | func (r *Request) UserAgent() string { method SetUserAgent (line 297) | func (r *Request) SetUserAgent(ua string) *Request { method Boundary (line 303) | func (r *Request) Boundary() string { method SetBoundary (line 308) | func (r *Request) SetBoundary(b string) *Request { method Referer (line 314) | func (r *Request) Referer() string { method SetReferer (line 319) | func (r *Request) SetReferer(referer string) *Request { method Cookie (line 326) | func (r *Request) Cookie(key string) string { method Cookies (line 335) | func (r *Request) Cookies() iter.Seq2[string, string] { method SetCookie (line 340) | func (r *Request) SetCookie(key, val string) *Request { method SetCookies (line 346) | func (r *Request) SetCookies(m map[string]string) *Request { method SetCookiesWithStruct (line 352) | func (r *Request) SetCookiesWithStruct(v any) *Request { method DelCookies (line 358) | func (r *Request) DelCookies(key ...string) *Request { method PathParam (line 365) | func (r *Request) PathParam(key string) string { method PathParams (line 374) | func (r *Request) PathParams() iter.Seq2[string, string] { method SetPathParam (line 379) | func (r *Request) SetPathParam(key, val string) *Request { method SetPathParams (line 385) | func (r *Request) SetPathParams(m map[string]string) *Request { method SetPathParamsWithStruct (line 391) | func (r *Request) SetPathParamsWithStruct(v any) *Request { method DelPathParams (line 397) | func (r *Request) DelPathParams(key ...string) *Request { method ResetPathParams (line 403) | func (r *Request) ResetPathParams() *Request { method SetJSON (line 409) | func (r *Request) SetJSON(v any) *Request { method SetXML (line 416) | func (r *Request) SetXML(v any) *Request { method SetCBOR (line 423) | func (r *Request) SetCBOR(v any) *Request { method SetRawBody (line 430) | func (r *Request) SetRawBody(v []byte) *Request { method resetBody (line 438) | func (r *Request) resetBody(t bodyType) { method FormData (line 449) | func (r *Request) FormData(key string) []string { method AllFormData (line 463) | func (r *Request) AllFormData() iter.Seq2[string, []string] { method AddFormData (line 493) | func (r *Request) AddFormData(key, val string) *Request { method SetFormData (line 500) | func (r *Request) SetFormData(key, val string) *Request { method AddFormDataWithMap (line 507) | func (r *Request) AddFormDataWithMap(m map[string][]string) *Request { method SetFormDataWithMap (line 514) | func (r *Request) SetFormDataWithMap(m map[string]string) *Request { method SetFormDataWithStruct (line 521) | func (r *Request) SetFormDataWithStruct(v any) *Request { method DelFormData (line 528) | func (r *Request) DelFormData(key ...string) *Request { method File (line 536) | func (r *Request) File(name string) *File { method Files (line 556) | func (r *Request) Files() []*File { method FileByPath (line 561) | func (r *Request) FileByPath(path string) *File { method AddFile (line 571) | func (r *Request) AddFile(path string) *Request { method AddFileWithReader (line 578) | func (r *Request) AddFileWithReader(name string, reader io.ReadCloser)... method AddFiles (line 585) | func (r *Request) AddFiles(files ...*File) *Request { method Timeout (line 592) | func (r *Request) Timeout() time.Duration { method SetTimeout (line 597) | func (r *Request) SetTimeout(t time.Duration) *Request { method MaxRedirects (line 603) | func (r *Request) MaxRedirects() int { method SetMaxRedirects (line 608) | func (r *Request) SetMaxRedirects(count int) *Request { method DisablePathNormalizing (line 614) | func (r *Request) DisablePathNormalizing() bool { method SetDisablePathNormalizing (line 619) | func (r *Request) SetDisablePathNormalizing(disable bool) *Request { method checkClient (line 626) | func (r *Request) checkClient() { method Get (line 633) | func (r *Request) Get(url string) (*Response, error) { method Post (line 638) | func (r *Request) Post(url string) (*Response, error) { method Head (line 643) | func (r *Request) Head(url string) (*Response, error) { method Put (line 648) | func (r *Request) Put(url string) (*Response, error) { method Delete (line 653) | func (r *Request) Delete(url string) (*Response, error) { method Options (line 658) | func (r *Request) Options(url string) (*Response, error) { method Patch (line 663) | func (r *Request) Patch(url string) (*Response, error) { method Custom (line 668) | func (r *Request) Custom(url, method string) (*Response, error) { method Send (line 673) | func (r *Request) Send() (*Response, error) { method Reset (line 680) | func (r *Request) Reset() { type pair (line 134) | type pair struct method Len (line 140) | func (p *pair) Len() int { method Swap (line 145) | func (p *pair) Swap(i, j int) { method Less (line 151) | func (p *pair) Less(i, j int) bool { type Header (line 708) | type Header struct method PeekMultiple (line 713) | func (h *Header) PeekMultiple(key string) []string { method AddHeaders (line 725) | func (h *Header) AddHeaders(r map[string][]string) { method SetHeaders (line 734) | func (h *Header) SetHeaders(r map[string]string) { type QueryParam (line 742) | type QueryParam struct method Keys (line 747) | func (p *QueryParam) Keys() []string { method AddParams (line 756) | func (p *QueryParam) AddParams(r map[string][]string) { method SetParams (line 765) | func (p *QueryParam) SetParams(r map[string]string) { method SetParamsWithStruct (line 773) | func (p *QueryParam) SetParamsWithStruct(v any) { type Cookie (line 778) | type Cookie method Add (line 781) | func (c Cookie) Add(key, val string) { method Del (line 786) | func (c Cookie) Del(key string) { method SetCookie (line 791) | func (c Cookie) SetCookie(key, val string) { method SetCookies (line 796) | func (c Cookie) SetCookies(m map[string]string) { method SetCookiesWithStruct (line 802) | func (c Cookie) SetCookiesWithStruct(v any) { method DelCookies (line 807) | func (c Cookie) DelCookies(key ...string) { method All (line 816) | func (c Cookie) All() iter.Seq2[string, string] { method Reset (line 821) | func (c Cookie) Reset() { type PathParam (line 826) | type PathParam method Add (line 829) | func (p PathParam) Add(key, val string) { method Del (line 834) | func (p PathParam) Del(key string) { method SetParam (line 839) | func (p PathParam) SetParam(key, val string) { method SetParams (line 844) | func (p PathParam) SetParams(m map[string]string) { method SetParamsWithStruct (line 850) | func (p PathParam) SetParamsWithStruct(v any) { method DelParams (line 855) | func (p PathParam) DelParams(key ...string) { method All (line 864) | func (p PathParam) All() iter.Seq2[string, string] { method Reset (line 869) | func (p PathParam) Reset() { type FormData (line 874) | type FormData struct method Keys (line 879) | func (f *FormData) Keys() []string { method Add (line 888) | func (f *FormData) Add(key, val string) { method Set (line 893) | func (f *FormData) Set(key, val string) { method AddWithMap (line 898) | func (f *FormData) AddWithMap(m map[string][]string) { method SetWithMap (line 907) | func (f *FormData) SetWithMap(m map[string]string) { method SetWithStruct (line 915) | func (f *FormData) SetWithStruct(v any) { method DelData (line 920) | func (f *FormData) DelData(key ...string) { method Reset (line 927) | func (f *FormData) Reset() { type File (line 932) | type File struct method SetName (line 940) | func (f *File) SetName(n string) { method SetFieldName (line 945) | func (f *File) SetFieldName(n string) { method SetPath (line 950) | func (f *File) SetPath(p string) { method SetReader (line 955) | func (f *File) SetReader(r io.ReadCloser) { method Reset (line 960) | func (f *File) Reset() { function AcquireRequest (line 983) | func AcquireRequest() *Request { function ReleaseRequest (line 993) | func ReleaseRequest(req *Request) { type SetFileFunc (line 1001) | type SetFileFunc function SetFileName (line 1004) | func SetFileName(n string) SetFileFunc { function SetFileFieldName (line 1011) | func SetFileFieldName(p string) SetFileFunc { function SetFilePath (line 1018) | func SetFilePath(p string) SetFileFunc { function SetFileReader (line 1025) | func SetFileReader(r io.ReadCloser) SetFileFunc { function AcquireFile (line 1032) | func AcquireFile(setter ...SetFileFunc) *File { function ReleaseFile (line 1053) | func ReleaseFile(f *File) { function SetValWithStruct (line 1066) | func SetValWithStruct(p WithStruct, tagName string, v any) { FILE: client/request_bench_test.go function BenchmarkRequestHeapScan (line 12) | func BenchmarkRequestHeapScan(b *testing.B) { FILE: client/request_test.go function Test_Request_Method (line 25) | func Test_Request_Method(t *testing.T) { function Test_Request_URL (line 57) | func Test_Request_URL(t *testing.T) { function Test_Request_Client (line 69) | func Test_Request_Client(t *testing.T) { function Test_Request_Context (line 79) | func Test_Request_Context(t *testing.T) { function Test_Request_Header (line 98) | func Test_Request_Header(t *testing.T) { function Test_Request_Headers (line 161) | func Test_Request_Headers(t *testing.T) { function Benchmark_Request_Headers (line 179) | func Benchmark_Request_Headers(b *testing.B) { function Test_Request_QueryParam (line 196) | func Test_Request_QueryParam(t *testing.T) { function Test_Request_Params (line 321) | func Test_Request_Params(t *testing.T) { function Benchmark_Request_Params (line 364) | func Benchmark_Request_Params(b *testing.B) { function Test_Request_UA (line 381) | func Test_Request_UA(t *testing.T) { function Test_Request_Referer (line 391) | func Test_Request_Referer(t *testing.T) { function Test_Request_Cookie (line 401) | func Test_Request_Cookie(t *testing.T) { function Test_Request_Cookies (line 463) | func Test_Request_Cookies(t *testing.T) { function Benchmark_Request_Cookies (line 488) | func Benchmark_Request_Cookies(b *testing.B) { function Test_Request_PathParam (line 505) | func Test_Request_PathParam(t *testing.T) { function Test_Request_PathParams (line 582) | func Test_Request_PathParams(t *testing.T) { function Benchmark_Request_PathParams (line 607) | func Benchmark_Request_PathParams(b *testing.B) { function Test_Request_FormData (line 624) | func Test_Request_FormData(t *testing.T) { function Test_Request_File (line 755) | func Test_Request_File(t *testing.T) { function Test_Request_Files (line 793) | func Test_Request_Files(t *testing.T) { function Benchmark_Request_Files (line 811) | func Benchmark_Request_Files(b *testing.B) { function Test_Request_Timeout (line 826) | func Test_Request_Timeout(t *testing.T) { function Test_Request_Invalid_URL (line 834) | func Test_Request_Invalid_URL(t *testing.T) { function Test_Request_Unsupported_Protocol (line 844) | func Test_Request_Unsupported_Protocol(t *testing.T) { function Test_Request_Get (line 853) | func Test_Request_Get(t *testing.T) { function Test_Request_Post (line 877) | func Test_Request_Post(t *testing.T) { function Test_Request_Head (line 904) | func Test_Request_Head(t *testing.T) { function Test_Request_Put (line 929) | func Test_Request_Put(t *testing.T) { function Test_Request_Delete (line 956) | func Test_Request_Delete(t *testing.T) { function Test_Request_Options (line 984) | func Test_Request_Options(t *testing.T) { function Test_Request_Send (line 1012) | func Test_Request_Send(t *testing.T) { function Test_Request_Patch (line 1042) | func Test_Request_Patch(t *testing.T) { function Test_Request_Header_With_Server (line 1070) | func Test_Request_Header_With_Server(t *testing.T) { function Test_Request_UserAgent_With_Server (line 1099) | func Test_Request_UserAgent_With_Server(t *testing.T) { function Test_Request_Cookie_With_Server (line 1119) | func Test_Request_Cookie_With_Server(t *testing.T) { function Test_Request_Referer_With_Server (line 1138) | func Test_Request_Referer_With_Server(t *testing.T) { function Test_Request_QueryString_With_Server (line 1151) | func Test_Request_QueryString_With_Server(t *testing.T) { function checkFormFile (line 1167) | func checkFormFile(t *testing.T, fh *multipart.FileHeader, filename stri... function Test_Request_Body_With_Server (line 1185) | func Test_Request_Body_With_Server(t *testing.T) { function Test_Request_AllFormData (line 1397) | func Test_Request_AllFormData(t *testing.T) { function Benchmark_Request_AllFormData (line 1440) | func Benchmark_Request_AllFormData(b *testing.B) { function Test_Request_Error_Body_With_Server (line 1457) | func Test_Request_Error_Body_With_Server(t *testing.T) { function Test_Request_Timeout_With_Server (line 1505) | func Test_Request_Timeout_With_Server(t *testing.T) { function Test_Request_MaxRedirects (line 1525) | func Test_Request_MaxRedirects(t *testing.T) { function Test_SetValWithStruct (line 1590) | func Test_SetValWithStruct(t *testing.T) { function Benchmark_SetValWithStruct (line 1743) | func Benchmark_SetValWithStruct(b *testing.B) { FILE: client/response.go type Response (line 19) | type Response struct method setClient (line 28) | func (r *Response) setClient(c *Client) { method setRequest (line 33) | func (r *Response) setRequest(req *Request) { method Status (line 38) | func (r *Response) Status() string { method StatusCode (line 43) | func (r *Response) StatusCode() int { method Protocol (line 48) | func (r *Response) Protocol() string { method Header (line 53) | func (r *Response) Header(key string) string { method Headers (line 62) | func (r *Response) Headers() iter.Seq2[string, []string] { method Cookies (line 83) | func (r *Response) Cookies() []*fasthttp.Cookie { method Body (line 88) | func (r *Response) Body() []byte { method BodyStream (line 95) | func (r *Response) BodyStream() io.Reader { method IsStreaming (line 104) | func (r *Response) IsStreaming() bool { method String (line 109) | func (r *Response) String() string { method JSON (line 114) | func (r *Response) JSON(v any) error { method CBOR (line 123) | func (r *Response) CBOR(v any) error { method XML (line 132) | func (r *Response) XML(v any) error { method Save (line 144) | func (r *Response) Save(v any) error { method Reset (line 193) | func (r *Response) Reset() { method Close (line 208) | func (r *Response) Close() { function AcquireResponse (line 228) | func AcquireResponse() *Response { function ReleaseResponse (line 238) | func ReleaseResponse(resp *Response) { FILE: client/response_test.go function Test_Response_Status (line 22) | func Test_Response_Status(t *testing.T) { function Test_Response_Status_Code (line 73) | func Test_Response_Status_Code(t *testing.T) { function Test_Response_Protocol (line 124) | func Test_Response_Protocol(t *testing.T) { function Test_Response_Header (line 183) | func Test_Response_Header(t *testing.T) { function Test_Response_Headers (line 205) | func Test_Response_Headers(t *testing.T) { function Benchmark_Headers (line 243) | func Benchmark_Headers(b *testing.B) { function Test_Response_Cookie (line 283) | func Test_Response_Cookie(t *testing.T) { function Test_Response_Body (line 308) | func Test_Response_Body(t *testing.T) { function Test_Response_DecodeHelpers_ClientNilSafety (line 455) | func Test_Response_DecodeHelpers_ClientNilSafety(t *testing.T) { function Test_Response_Save (line 575) | func Test_Response_Save(t *testing.T) { function Test_Response_BodyStream (line 689) | func Test_Response_BodyStream(t *testing.T) { function Test_Response_BodyStream_Fallback (line 750) | func Test_Response_BodyStream_Fallback(t *testing.T) { function Test_Response_IsStreaming (line 773) | func Test_Response_IsStreaming(t *testing.T) { function Test_Response_Save_Streaming (line 827) | func Test_Response_Save_Streaming(t *testing.T) { type mockWriteCloser (line 928) | type mockWriteCloser struct method Write (line 949) | func (m *mockWriteCloser) Write(p []byte) (int, error) { method Close (line 953) | func (m *mockWriteCloser) Close() error { type errorReader (line 933) | type errorReader struct method Read (line 937) | func (m *errorReader) Read(_ []byte) (int, error) { type errorWriter (line 941) | type errorWriter struct method Write (line 945) | func (m *errorWriter) Write(_ []byte) (int, error) { FILE: client/transport.go constant defaultRedirectLimit (line 15) | defaultRedirectLimit = 16 type httpClientTransport (line 26) | type httpClientTransport interface type standardClientTransport (line 42) | type standardClientTransport struct method Do (line 50) | func (s *standardClientTransport) Do(req *fasthttp.Request, resp *fast... method DoTimeout (line 54) | func (s *standardClientTransport) DoTimeout(req *fasthttp.Request, res... method DoDeadline (line 58) | func (s *standardClientTransport) DoDeadline(req *fasthttp.Request, re... method DoRedirects (line 62) | func (s *standardClientTransport) DoRedirects(req *fasthttp.Request, r... method CloseIdleConnections (line 66) | func (s *standardClientTransport) CloseIdleConnections() { method TLSConfig (line 70) | func (s *standardClientTransport) TLSConfig() *tls.Config { method SetTLSConfig (line 74) | func (s *standardClientTransport) SetTLSConfig(config *tls.Config) { method SetDial (line 78) | func (s *standardClientTransport) SetDial(dial fasthttp.DialFunc) { method Client (line 82) | func (s *standardClientTransport) Client() any { method StreamResponseBody (line 86) | func (s *standardClientTransport) StreamResponseBody() bool { method SetStreamResponseBody (line 90) | func (s *standardClientTransport) SetStreamResponseBody(enable bool) { function newStandardClientTransport (line 46) | func newStandardClientTransport(client *fasthttp.Client) *standardClient... type hostClientTransport (line 96) | type hostClientTransport struct method Do (line 104) | func (h *hostClientTransport) Do(req *fasthttp.Request, resp *fasthttp... method DoTimeout (line 108) | func (h *hostClientTransport) DoTimeout(req *fasthttp.Request, resp *f... method DoDeadline (line 112) | func (h *hostClientTransport) DoDeadline(req *fasthttp.Request, resp *... method DoRedirects (line 116) | func (h *hostClientTransport) DoRedirects(req *fasthttp.Request, resp ... method CloseIdleConnections (line 120) | func (h *hostClientTransport) CloseIdleConnections() { method TLSConfig (line 124) | func (h *hostClientTransport) TLSConfig() *tls.Config { method SetTLSConfig (line 128) | func (h *hostClientTransport) SetTLSConfig(config *tls.Config) { method SetDial (line 132) | func (h *hostClientTransport) SetDial(dial fasthttp.DialFunc) { method Client (line 136) | func (h *hostClientTransport) Client() any { method StreamResponseBody (line 140) | func (h *hostClientTransport) StreamResponseBody() bool { method SetStreamResponseBody (line 144) | func (h *hostClientTransport) SetStreamResponseBody(enable bool) { function newHostClientTransport (line 100) | func newHostClientTransport(client *fasthttp.HostClient) *hostClientTran... type lbClientTransport (line 150) | type lbClientTransport struct method Do (line 158) | func (l *lbClientTransport) Do(req *fasthttp.Request, resp *fasthttp.R... method DoTimeout (line 162) | func (l *lbClientTransport) DoTimeout(req *fasthttp.Request, resp *fas... method DoDeadline (line 166) | func (l *lbClientTransport) DoDeadline(req *fasthttp.Request, resp *fa... method DoRedirects (line 173) | func (l *lbClientTransport) DoRedirects(req *fasthttp.Request, resp *f... method CloseIdleConnections (line 177) | func (l *lbClientTransport) CloseIdleConnections() { method TLSConfig (line 183) | func (l *lbClientTransport) TLSConfig() *tls.Config { method SetTLSConfig (line 190) | func (l *lbClientTransport) SetTLSConfig(config *tls.Config) { method SetDial (line 196) | func (l *lbClientTransport) SetDial(dial fasthttp.DialFunc) { method Client (line 202) | func (l *lbClientTransport) Client() any { method StreamResponseBody (line 206) | func (l *lbClientTransport) StreamResponseBody() bool { method SetStreamResponseBody (line 223) | func (l *lbClientTransport) SetStreamResponseBody(enable bool) { function newLBClientTransport (line 154) | func newLBClientTransport(client *fasthttp.LBClient) *lbClientTransport { function forEachHostClient (line 231) | func forEachHostClient(lb *fasthttp.LBClient, fn func(*fasthttp.HostClie... function walkBalancingClient (line 239) | func walkBalancingClient(client any, fn func(*fasthttp.HostClient)) { function extractTLSConfig (line 249) | func extractTLSConfig(clients []fasthttp.BalancingClient) *tls.Config { function walkBalancingClientWithBreak (line 268) | func walkBalancingClientWithBreak(client any, fn func(*fasthttp.HostClie... type redirectClient (line 291) | type redirectClient interface function doRedirectsWithClient (line 299) | func doRedirectsWithClient(req *fasthttp.Request, resp *fasthttp.Respons... function composeRedirectURL (line 354) | func composeRedirectURL(base string, location []byte, disablePathNormali... FILE: client/transport_test.go type stubBalancingClient (line 15) | type stubBalancingClient struct method DoDeadline (line 17) | func (stubBalancingClient) DoDeadline(*fasthttp.Request, *fasthttp.Res... method PendingRequests (line 20) | func (stubBalancingClient) PendingRequests() int { return 0 } type lbBalancingClient (line 22) | type lbBalancingClient struct method DoDeadline (line 26) | func (l *lbBalancingClient) DoDeadline(req *fasthttp.Request, resp *fa... method PendingRequests (line 33) | func (*lbBalancingClient) PendingRequests() int { return 0 } method LBClient (line 35) | func (l *lbBalancingClient) LBClient() *fasthttp.LBClient { return l.c... type stubRedirectCall (line 37) | type stubRedirectCall struct function ptrInt (line 43) | func ptrInt(v int) *int { return &v } function ptrString (line 45) | func ptrString(v string) *string { return &v } type stubRedirectClient (line 47) | type stubRedirectClient struct method Do (line 52) | func (s *stubRedirectClient) Do(req *fasthttp.Request, resp *fasthttp.... method CallCount (line 74) | func (s *stubRedirectClient) CallCount() int { return s.callCount } function TestStandardClientTransportCoverage (line 76) | func TestStandardClientTransportCoverage(t *testing.T) { function TestHostClientTransportClientAccessor (line 122) | func TestHostClientTransportClientAccessor(t *testing.T) { function TestLBClientTransportAccessorsAndOverrides (line 143) | func TestLBClientTransportAccessorsAndOverrides(t *testing.T) { function TestExtractTLSConfigVariations (line 213) | func TestExtractTLSConfigVariations(t *testing.T) { function TestWalkBalancingClientWithBreak (line 230) | func TestWalkBalancingClientWithBreak(t *testing.T) { function TestDoRedirectsWithClientBranches (line 253) | func TestDoRedirectsWithClientBranches(t *testing.T) { function TestDoRedirectsWithClientDefaultLimit (line 328) | func TestDoRedirectsWithClientDefaultLimit(t *testing.T) { function Test_StandardClientTransport_StreamResponseBody (line 350) | func Test_StandardClientTransport_StreamResponseBody(t *testing.T) { function Test_HostClientTransport_StreamResponseBody (line 380) | func Test_HostClientTransport_StreamResponseBody(t *testing.T) { function Test_LBClientTransport_StreamResponseBody (line 411) | func Test_LBClientTransport_StreamResponseBody(t *testing.T) { function Test_httpClientTransport_Interface (line 468) | func Test_httpClientTransport_Interface(t *testing.T) { FILE: color.go type Colors (line 8) | type Colors struct function defaultColors (line 69) | func defaultColors(colors *Colors) Colors { FILE: constants.go constant MethodGet (line 5) | MethodGet = "GET" constant MethodHead (line 6) | MethodHead = "HEAD" constant MethodPost (line 7) | MethodPost = "POST" constant MethodPut (line 8) | MethodPut = "PUT" constant MethodPatch (line 9) | MethodPatch = "PATCH" constant MethodDelete (line 10) | MethodDelete = "DELETE" constant MethodConnect (line 11) | MethodConnect = "CONNECT" constant MethodOptions (line 12) | MethodOptions = "OPTIONS" constant MethodTrace (line 13) | MethodTrace = "TRACE" constant methodUse (line 14) | methodUse = "USE" constant MIMETextXML (line 19) | MIMETextXML = "text/xml" constant MIMETextHTML (line 20) | MIMETextHTML = "text/html" constant MIMETextPlain (line 21) | MIMETextPlain = "text/plain" constant MIMETextJavaScript (line 22) | MIMETextJavaScript = "text/javascript" constant MIMETextCSS (line 23) | MIMETextCSS = "text/css" constant MIMEApplicationXML (line 24) | MIMEApplicationXML = "application/xml" constant MIMEApplicationJSON (line 25) | MIMEApplicationJSON = "application/json" constant MIMEApplicationJavaScript (line 26) | MIMEApplicationJavaScript = "application/javascript" constant MIMEApplicationCBOR (line 27) | MIMEApplicationCBOR = "application/cbor" constant MIMEApplicationForm (line 28) | MIMEApplicationForm = "application/x-www-form-urlencoded" constant MIMEOctetStream (line 29) | MIMEOctetStream = "application/octet-stream" constant MIMEMultipartForm (line 30) | MIMEMultipartForm = "multipart/form-data" constant MIMEApplicationMsgPack (line 31) | MIMEApplicationMsgPack = "application/vnd.msgpack" constant MIMETextXMLCharsetUTF8 (line 33) | MIMETextXMLCharsetUTF8 = "text/xml; charset=utf-8" constant MIMETextHTMLCharsetUTF8 (line 34) | MIMETextHTMLCharsetUTF8 = "text/html; charset=utf-8" constant MIMETextPlainCharsetUTF8 (line 35) | MIMETextPlainCharsetUTF8 = "text/plain; charset=utf-8" constant MIMETextJavaScriptCharsetUTF8 (line 36) | MIMETextJavaScriptCharsetUTF8 = "text/javascript; charset=utf-8" constant MIMETextCSSCharsetUTF8 (line 37) | MIMETextCSSCharsetUTF8 = "text/css; charset=utf-8" constant MIMEApplicationXMLCharsetUTF8 (line 38) | MIMEApplicationXMLCharsetUTF8 = "application/xml; charset=utf-8" constant MIMEApplicationJSONCharsetUTF8 (line 39) | MIMEApplicationJSONCharsetUTF8 = "application/json; charset=utf-8" constant StatusContinue (line 47) | StatusContinue = 100 constant StatusSwitchingProtocols (line 48) | StatusSwitchingProtocols = 101 constant StatusProcessing (line 49) | StatusProcessing = 102 constant StatusEarlyHints (line 50) | StatusEarlyHints = 103 constant StatusOK (line 52) | StatusOK = 200 constant StatusCreated (line 53) | StatusCreated = 201 constant StatusAccepted (line 54) | StatusAccepted = 202 constant StatusNonAuthoritativeInformation (line 55) | StatusNonAuthoritativeInformation = 203 constant StatusNoContent (line 56) | StatusNoContent = 204 constant StatusResetContent (line 57) | StatusResetContent = 205 constant StatusPartialContent (line 58) | StatusPartialContent = 206 constant StatusMultiStatus (line 59) | StatusMultiStatus = 207 constant StatusAlreadyReported (line 60) | StatusAlreadyReported = 208 constant StatusIMUsed (line 61) | StatusIMUsed = 226 constant StatusMultipleChoices (line 63) | StatusMultipleChoices = 300 constant StatusMovedPermanently (line 64) | StatusMovedPermanently = 301 constant StatusFound (line 65) | StatusFound = 302 constant StatusSeeOther (line 66) | StatusSeeOther = 303 constant StatusNotModified (line 67) | StatusNotModified = 304 constant StatusUseProxy (line 68) | StatusUseProxy = 305 constant StatusSwitchProxy (line 69) | StatusSwitchProxy = 306 constant StatusTemporaryRedirect (line 70) | StatusTemporaryRedirect = 307 constant StatusPermanentRedirect (line 71) | StatusPermanentRedirect = 308 constant StatusBadRequest (line 73) | StatusBadRequest = 400 constant StatusUnauthorized (line 74) | StatusUnauthorized = 401 constant StatusPaymentRequired (line 75) | StatusPaymentRequired = 402 constant StatusForbidden (line 76) | StatusForbidden = 403 constant StatusNotFound (line 77) | StatusNotFound = 404 constant StatusMethodNotAllowed (line 78) | StatusMethodNotAllowed = 405 constant StatusNotAcceptable (line 79) | StatusNotAcceptable = 406 constant StatusProxyAuthRequired (line 80) | StatusProxyAuthRequired = 407 constant StatusRequestTimeout (line 81) | StatusRequestTimeout = 408 constant StatusConflict (line 82) | StatusConflict = 409 constant StatusGone (line 83) | StatusGone = 410 constant StatusLengthRequired (line 84) | StatusLengthRequired = 411 constant StatusPreconditionFailed (line 85) | StatusPreconditionFailed = 412 constant StatusRequestEntityTooLarge (line 86) | StatusRequestEntityTooLarge = 413 constant StatusRequestURITooLong (line 87) | StatusRequestURITooLong = 414 constant StatusUnsupportedMediaType (line 88) | StatusUnsupportedMediaType = 415 constant StatusRequestedRangeNotSatisfiable (line 89) | StatusRequestedRangeNotSatisfiable = 416 constant StatusExpectationFailed (line 90) | StatusExpectationFailed = 417 constant StatusTeapot (line 91) | StatusTeapot = 418 constant StatusMisdirectedRequest (line 92) | StatusMisdirectedRequest = 421 constant StatusUnprocessableEntity (line 93) | StatusUnprocessableEntity = 422 constant StatusLocked (line 94) | StatusLocked = 423 constant StatusFailedDependency (line 95) | StatusFailedDependency = 424 constant StatusTooEarly (line 96) | StatusTooEarly = 425 constant StatusUpgradeRequired (line 97) | StatusUpgradeRequired = 426 constant StatusPreconditionRequired (line 98) | StatusPreconditionRequired = 428 constant StatusTooManyRequests (line 99) | StatusTooManyRequests = 429 constant StatusRequestHeaderFieldsTooLarge (line 100) | StatusRequestHeaderFieldsTooLarge = 431 constant StatusUnavailableForLegalReasons (line 101) | StatusUnavailableForLegalReasons = 451 constant StatusInternalServerError (line 103) | StatusInternalServerError = 500 constant StatusNotImplemented (line 104) | StatusNotImplemented = 501 constant StatusBadGateway (line 105) | StatusBadGateway = 502 constant StatusServiceUnavailable (line 106) | StatusServiceUnavailable = 503 constant StatusGatewayTimeout (line 107) | StatusGatewayTimeout = 504 constant StatusHTTPVersionNotSupported (line 108) | StatusHTTPVersionNotSupported = 505 constant StatusVariantAlsoNegotiates (line 109) | StatusVariantAlsoNegotiates = 506 constant StatusInsufficientStorage (line 110) | StatusInsufficientStorage = 507 constant StatusLoopDetected (line 111) | StatusLoopDetected = 508 constant StatusNotExtended (line 112) | StatusNotExtended = 510 constant StatusNetworkAuthenticationRequired (line 113) | StatusNetworkAuthenticationRequired = 511 constant HeaderAuthorization (line 163) | HeaderAuthorization = "Authorization" constant HeaderProxyAuthenticate (line 164) | HeaderProxyAuthenticate = "Proxy-Authenticate" constant HeaderProxyAuthorization (line 165) | HeaderProxyAuthorization = "Proxy-Authorization" constant HeaderWWWAuthenticate (line 166) | HeaderWWWAuthenticate = "WWW-Authenticate" constant HeaderAge (line 167) | HeaderAge = "Age" constant HeaderCacheControl (line 168) | HeaderCacheControl = "Cache-Control" constant HeaderClearSiteData (line 169) | HeaderClearSiteData = "Clear-Site-Data" constant HeaderExpires (line 170) | HeaderExpires = "Expires" constant HeaderPragma (line 171) | HeaderPragma = "Pragma" constant HeaderWarning (line 172) | HeaderWarning = "Warning" constant HeaderAcceptCH (line 173) | HeaderAcceptCH = "Accept-CH" constant HeaderAcceptCHLifetime (line 174) | HeaderAcceptCHLifetime = "Accept-CH-Lifetime" constant HeaderContentDPR (line 175) | HeaderContentDPR = "Content-DPR" constant HeaderDPR (line 176) | HeaderDPR = "DPR" constant HeaderEarlyData (line 177) | HeaderEarlyData = "Early-Data" constant HeaderSaveData (line 178) | HeaderSaveData = "Save-Data" constant HeaderViewportWidth (line 179) | HeaderViewportWidth = "Viewport-Width" constant HeaderWidth (line 180) | HeaderWidth = "Width" constant HeaderETag (line 181) | HeaderETag = "ETag" constant HeaderIfMatch (line 182) | HeaderIfMatch = "If-Match" constant HeaderIfModifiedSince (line 183) | HeaderIfModifiedSince = "If-Modified-Since" constant HeaderIfNoneMatch (line 184) | HeaderIfNoneMatch = "If-None-Match" constant HeaderIfUnmodifiedSince (line 185) | HeaderIfUnmodifiedSince = "If-Unmodified-Since" constant HeaderLastModified (line 186) | HeaderLastModified = "Last-Modified" constant HeaderVary (line 187) | HeaderVary = "Vary" constant HeaderConnection (line 188) | HeaderConnection = "Connection" constant HeaderKeepAlive (line 189) | HeaderKeepAlive = "Keep-Alive" constant HeaderAccept (line 190) | HeaderAccept = "Accept" constant HeaderAcceptCharset (line 191) | HeaderAcceptCharset = "Accept-Charset" constant HeaderAcceptEncoding (line 192) | HeaderAcceptEncoding = "Accept-Encoding" constant HeaderAcceptLanguage (line 193) | HeaderAcceptLanguage = "Accept-Language" constant HeaderCookie (line 194) | HeaderCookie = "Cookie" constant HeaderExpect (line 195) | HeaderExpect = "Expect" constant HeaderMaxForwards (line 196) | HeaderMaxForwards = "Max-Forwards" constant HeaderSetCookie (line 197) | HeaderSetCookie = "Set-Cookie" constant HeaderAccessControlAllowCredentials (line 198) | HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credent... constant HeaderAccessControlAllowHeaders (line 199) | HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" constant HeaderAccessControlAllowMethods (line 200) | HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" constant HeaderAccessControlAllowOrigin (line 201) | HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" constant HeaderAccessControlExposeHeaders (line 202) | HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" constant HeaderAccessControlMaxAge (line 203) | HeaderAccessControlMaxAge = "Access-Control-Max-Age" constant HeaderAccessControlRequestHeaders (line 204) | HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" constant HeaderAccessControlRequestMethod (line 205) | HeaderAccessControlRequestMethod = "Access-Control-Request-Method" constant HeaderOrigin (line 206) | HeaderOrigin = "Origin" constant HeaderTimingAllowOrigin (line 207) | HeaderTimingAllowOrigin = "Timing-Allow-Origin" constant HeaderXPermittedCrossDomainPolicies (line 208) | HeaderXPermittedCrossDomainPolicies = "X-Permitted-Cross-Domain-Pol... constant HeaderDNT (line 209) | HeaderDNT = "DNT" constant HeaderTk (line 210) | HeaderTk = "Tk" constant HeaderContentDisposition (line 211) | HeaderContentDisposition = "Content-Disposition" constant HeaderContentEncoding (line 212) | HeaderContentEncoding = "Content-Encoding" constant HeaderContentLanguage (line 213) | HeaderContentLanguage = "Content-Language" constant HeaderContentLength (line 214) | HeaderContentLength = "Content-Length" constant HeaderContentLocation (line 215) | HeaderContentLocation = "Content-Location" constant HeaderContentType (line 216) | HeaderContentType = "Content-Type" constant HeaderForwarded (line 217) | HeaderForwarded = "Forwarded" constant HeaderVia (line 218) | HeaderVia = "Via" constant HeaderXForwardedFor (line 219) | HeaderXForwardedFor = "X-Forwarded-For" constant HeaderXForwardedHost (line 220) | HeaderXForwardedHost = "X-Forwarded-Host" constant HeaderXForwardedProto (line 221) | HeaderXForwardedProto = "X-Forwarded-Proto" constant HeaderXForwardedProtocol (line 222) | HeaderXForwardedProtocol = "X-Forwarded-Protocol" constant HeaderXForwardedSsl (line 223) | HeaderXForwardedSsl = "X-Forwarded-Ssl" constant HeaderXUrlScheme (line 224) | HeaderXUrlScheme = "X-Url-Scheme" constant HeaderLocation (line 225) | HeaderLocation = "Location" constant HeaderFrom (line 226) | HeaderFrom = "From" constant HeaderHost (line 227) | HeaderHost = "Host" constant HeaderReferer (line 228) | HeaderReferer = "Referer" constant HeaderReferrerPolicy (line 229) | HeaderReferrerPolicy = "Referrer-Policy" constant HeaderUserAgent (line 230) | HeaderUserAgent = "User-Agent" constant HeaderAllow (line 231) | HeaderAllow = "Allow" constant HeaderServer (line 232) | HeaderServer = "Server" constant HeaderAcceptRanges (line 233) | HeaderAcceptRanges = "Accept-Ranges" constant HeaderContentRange (line 234) | HeaderContentRange = "Content-Range" constant HeaderIfRange (line 235) | HeaderIfRange = "If-Range" constant HeaderRange (line 236) | HeaderRange = "Range" constant HeaderContentSecurityPolicy (line 237) | HeaderContentSecurityPolicy = "Content-Security-Policy" constant HeaderContentSecurityPolicyReportOnly (line 238) | HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Repo... constant HeaderCrossOriginResourcePolicy (line 239) | HeaderCrossOriginResourcePolicy = "Cross-Origin-Resource-Policy" constant HeaderExpectCT (line 240) | HeaderExpectCT = "Expect-CT" constant HeaderPermissionsPolicy (line 241) | HeaderPermissionsPolicy = "Permissions-Policy" constant HeaderPublicKeyPins (line 242) | HeaderPublicKeyPins = "Public-Key-Pins" constant HeaderPublicKeyPinsReportOnly (line 243) | HeaderPublicKeyPinsReportOnly = "Public-Key-Pins-Report-Only" constant HeaderStrictTransportSecurity (line 244) | HeaderStrictTransportSecurity = "Strict-Transport-Security" constant HeaderUpgradeInsecureRequests (line 245) | HeaderUpgradeInsecureRequests = "Upgrade-Insecure-Requests" constant HeaderXContentTypeOptions (line 246) | HeaderXContentTypeOptions = "X-Content-Type-Options" constant HeaderXDownloadOptions (line 247) | HeaderXDownloadOptions = "X-Download-Options" constant HeaderXFrameOptions (line 248) | HeaderXFrameOptions = "X-Frame-Options" constant HeaderXPoweredBy (line 249) | HeaderXPoweredBy = "X-Powered-By" constant HeaderXXSSProtection (line 250) | HeaderXXSSProtection = "X-XSS-Protection" constant HeaderLastEventID (line 251) | HeaderLastEventID = "Last-Event-ID" constant HeaderNEL (line 252) | HeaderNEL = "NEL" constant HeaderPingFrom (line 253) | HeaderPingFrom = "Ping-From" constant HeaderPingTo (line 254) | HeaderPingTo = "Ping-To" constant HeaderReportTo (line 255) | HeaderReportTo = "Report-To" constant HeaderTE (line 256) | HeaderTE = "TE" constant HeaderTrailer (line 257) | HeaderTrailer = "Trailer" constant HeaderTransferEncoding (line 258) | HeaderTransferEncoding = "Transfer-Encoding" constant HeaderSecFetchSite (line 259) | HeaderSecFetchSite = "Sec-Fetch-Site" constant HeaderSecWebSocketAccept (line 260) | HeaderSecWebSocketAccept = "Sec-WebSocket-Accept" constant HeaderSecWebSocketExtensions (line 261) | HeaderSecWebSocketExtensions = "Sec-WebSocket-Extensions" constant HeaderSecWebSocketKey (line 262) | HeaderSecWebSocketKey = "Sec-WebSocket-Key" constant HeaderSecWebSocketProtocol (line 263) | HeaderSecWebSocketProtocol = "Sec-WebSocket-Protocol" constant HeaderSecWebSocketVersion (line 264) | HeaderSecWebSocketVersion = "Sec-WebSocket-Version" constant HeaderAcceptPatch (line 265) | HeaderAcceptPatch = "Accept-Patch" constant HeaderAcceptPushPolicy (line 266) | HeaderAcceptPushPolicy = "Accept-Push-Policy" constant HeaderAcceptSignature (line 267) | HeaderAcceptSignature = "Accept-Signature" constant HeaderAltSvc (line 268) | HeaderAltSvc = "Alt-Svc" constant HeaderDate (line 269) | HeaderDate = "Date" constant HeaderIndex (line 270) | HeaderIndex = "Index" constant HeaderLargeAllocation (line 271) | HeaderLargeAllocation = "Large-Allocation" constant HeaderLink (line 272) | HeaderLink = "Link" constant HeaderPushPolicy (line 273) | HeaderPushPolicy = "Push-Policy" constant HeaderRetryAfter (line 274) | HeaderRetryAfter = "Retry-After" constant HeaderServerTiming (line 275) | HeaderServerTiming = "Server-Timing" constant HeaderSignature (line 276) | HeaderSignature = "Signature" constant HeaderSignedHeaders (line 277) | HeaderSignedHeaders = "Signed-Headers" constant HeaderSourceMap (line 278) | HeaderSourceMap = "SourceMap" constant HeaderUpgrade (line 279) | HeaderUpgrade = "Upgrade" constant HeaderXDNSPrefetchControl (line 280) | HeaderXDNSPrefetchControl = "X-DNS-Prefetch-Control" constant HeaderXPingback (line 281) | HeaderXPingback = "X-Pingback" constant HeaderXRequestID (line 282) | HeaderXRequestID = "X-Request-ID" constant HeaderXRequestedWith (line 283) | HeaderXRequestedWith = "X-Requested-With" constant HeaderXResponseTime (line 284) | HeaderXResponseTime = "X-Response-Time" constant HeaderXRobotsTag (line 285) | HeaderXRobotsTag = "X-Robots-Tag" constant HeaderXUACompatible (line 286) | HeaderXUACompatible = "X-UA-Compatible" constant HeaderAccessControlAllowPrivateNetwork (line 287) | HeaderAccessControlAllowPrivateNetwork = "Access-Control-Allow-Private... constant HeaderAccessControlRequestPrivateNetwork (line 288) | HeaderAccessControlRequestPrivateNetwork = "Access-Control-Request-Priva... constant NetworkTCP (line 293) | NetworkTCP = "tcp" constant NetworkTCP4 (line 294) | NetworkTCP4 = "tcp4" constant NetworkTCP6 (line 295) | NetworkTCP6 = "tcp6" constant NetworkUnix (line 296) | NetworkUnix = "unix" constant StrGzip (line 301) | StrGzip = "gzip" constant StrCompress (line 302) | StrCompress = "compress" constant StrIdentity (line 303) | StrIdentity = "identity" constant StrBr (line 304) | StrBr = "br" constant StrDeflate (line 305) | StrDeflate = "deflate" constant StrBrotli (line 306) | StrBrotli = "brotli" constant StrZstd (line 307) | StrZstd = "zstd" constant CookieSameSiteDisabled (line 313) | CookieSameSiteDisabled = "disabled" constant CookieSameSiteLaxMode (line 314) | CookieSameSiteLaxMode = "Lax" constant CookieSameSiteStrictMode (line 315) | CookieSameSiteStrictMode = "Strict" constant CookieSameSiteNoneMode (line 316) | CookieSameSiteNoneMode = "None" constant ConstraintInt (line 321) | ConstraintInt = "int" constant ConstraintBool (line 322) | ConstraintBool = "bool" constant ConstraintFloat (line 323) | ConstraintFloat = "float" constant ConstraintAlpha (line 324) | ConstraintAlpha = "alpha" constant ConstraintGUID (line 325) | ConstraintGUID = "guid" constant ConstraintMinLen (line 326) | ConstraintMinLen = "minLen" constant ConstraintMaxLen (line 327) | ConstraintMaxLen = "maxLen" constant ConstraintLen (line 328) | ConstraintLen = "len" constant ConstraintBetweenLen (line 329) | ConstraintBetweenLen = "betweenLen" constant ConstraintMinLenLower (line 330) | ConstraintMinLenLower = "minlen" constant ConstraintMaxLenLower (line 331) | ConstraintMaxLenLower = "maxlen" constant ConstraintBetweenLenLower (line 332) | ConstraintBetweenLenLower = "betweenlen" constant ConstraintMin (line 333) | ConstraintMin = "min" constant ConstraintMax (line 334) | ConstraintMax = "max" constant ConstraintRange (line 335) | ConstraintRange = "range" constant ConstraintDatetime (line 336) | ConstraintDatetime = "datetime" constant ConstraintRegex (line 337) | ConstraintRegex = "regex" FILE: ctx.go constant schemeHTTP (line 26) | schemeHTTP = "http" constant schemeHTTPS (line 27) | schemeHTTPS = "https" constant maxParams (line 32) | maxParams = 30 constant maxDetectionPaths (line 33) | maxDetectionPaths = 3 type contextKey (line 43) | type contextKey constant userContextKey (line 47) | userContextKey contextKey = iota type DefaultCtx (line 55) | type DefaultCtx struct method App (line 101) | func (c *DefaultCtx) App() *App { method BaseURL (line 106) | func (c *DefaultCtx) BaseURL() string { method RequestCtx (line 118) | func (c *DefaultCtx) RequestCtx() *fasthttp.RequestCtx { method Context (line 124) | func (c *DefaultCtx) Context() context.Context { method SetContext (line 137) | func (c *DefaultCtx) SetContext(ctx context.Context) { method Deadline (line 150) | func (*DefaultCtx) Deadline() (time.Time, bool) { method Done (line 162) | func (*DefaultCtx) Done() <-chan struct{} { method Err (line 170) | func (*DefaultCtx) Err() error { method Request (line 178) | func (c *DefaultCtx) Request() *fasthttp.Request { method Response (line 189) | func (c *DefaultCtx) Response() *fasthttp.Response { method Get (line 200) | func (c *DefaultCtx) Get(key string, defaultValue ...string) string { method GetHeaders (line 207) | func (c *DefaultCtx) GetHeaders() map[string][]string { method GetReqHeaders (line 214) | func (c *DefaultCtx) GetReqHeaders() map[string][]string { method GetRespHeader (line 222) | func (c *DefaultCtx) GetRespHeader(key string, defaultValue ...string)... method GetRespHeaders (line 229) | func (c *DefaultCtx) GetRespHeaders() map[string][]string { method ClientHelloInfo (line 234) | func (c *DefaultCtx) ClientHelloInfo() *tls.ClientHelloInfo { method Next (line 243) | func (c *DefaultCtx) Next() error { method RestartRouting (line 265) | func (c *DefaultCtx) RestartRouting() error { method setHandlerCtx (line 275) | func (c *DefaultCtx) setHandlerCtx(ctx CustomCtx) { method OriginalURL (line 290) | func (c *DefaultCtx) OriginalURL() string { method Path (line 297) | func (c *DefaultCtx) Path(override ...string) string { method RequestID (line 311) | func (c *DefaultCtx) RequestID() string { method Req (line 320) | func (c *DefaultCtx) Req() Req { method Res (line 326) | func (c *DefaultCtx) Res() Res { method Redirect (line 334) | func (c *DefaultCtx) Redirect() *Redirect { method ViewBind (line 345) | func (c *DefaultCtx) ViewBind(vars Map) error { method Route (line 355) | func (c *DefaultCtx) Route() *Route { method FullPath (line 370) | func (c *DefaultCtx) FullPath() string { method Matched (line 375) | func (c *DefaultCtx) Matched() bool { method IsMiddleware (line 380) | func (c *DefaultCtx) IsMiddleware() bool { method HasBody (line 392) | func (c *DefaultCtx) HasBody() bool { method OverrideParam (line 413) | func (c *DefaultCtx) OverrideParam(name, value string) { method IsWebSocket (line 486) | func (c *DefaultCtx) IsWebSocket() bool { method IsPreflight (line 502) | func (c *DefaultCtx) IsPreflight() bool { method SaveFile (line 514) | func (*DefaultCtx) SaveFile(fileheader *multipart.FileHeader, path str... method SaveFileToStorage (line 519) | func (c *DefaultCtx) SaveFileToStorage(fileheader *multipart.FileHeade... method Secure (line 557) | func (c *DefaultCtx) Secure() bool { method Status (line 563) | func (c *DefaultCtx) Status(status int) Ctx { method String (line 571) | func (c *DefaultCtx) String() string { method Value (line 610) | func (c *DefaultCtx) Value(key any) any { method XHR (line 626) | func (c *DefaultCtx) XHR() bool { method configDependentPaths (line 632) | func (c *DefaultCtx) configDependentPaths() { method Reset (line 662) | func (c *DefaultCtx) Reset(fctx *fasthttp.RequestCtx) { method release (line 686) | func (c *DefaultCtx) release() { method Abandon (line 718) | func (c *DefaultCtx) Abandon() { method IsAbandoned (line 723) | func (c *DefaultCtx) IsAbandoned() bool { method ForceRelease (line 731) | func (c *DefaultCtx) ForceRelease() { method renderExtensions (line 736) | func (c *DefaultCtx) renderExtensions(bind any) { method Bind (line 766) | func (c *DefaultCtx) Bind() *Bind { method getMethodInt (line 775) | func (c *DefaultCtx) getMethodInt() int { method getIndexRoute (line 779) | func (c *DefaultCtx) getIndexRoute() int { method getTreePathHash (line 783) | func (c *DefaultCtx) getTreePathHash() int { method getDetectionPath (line 787) | func (c *DefaultCtx) getDetectionPath() string { method getValues (line 791) | func (c *DefaultCtx) getValues() *[maxParams]string { method getMatched (line 795) | func (c *DefaultCtx) getMatched() bool { method getSkipNonUseRoutes (line 799) | func (c *DefaultCtx) getSkipNonUseRoutes() bool { method setIndexHandler (line 803) | func (c *DefaultCtx) setIndexHandler(handler int) { method setIndexRoute (line 807) | func (c *DefaultCtx) setIndexRoute(route int) { method setMatched (line 811) | func (c *DefaultCtx) setMatched(matched bool) { method setSkipNonUseRoutes (line 815) | func (c *DefaultCtx) setSkipNonUseRoutes(skip bool) { method setRoute (line 819) | func (c *DefaultCtx) setRoute(route *Route) { method getPathOriginal (line 823) | func (c *DefaultCtx) getPathOriginal() string { type TLSHandler (line 82) | type TLSHandler struct method GetClientInfo (line 89) | func (t *TLSHandler) GetClientInfo(info *tls.ClientHelloInfo) (*tls.Ce... type Views (line 95) | type Views interface function hasTransferEncodingBody (line 444) | func hasTransferEncodingBody(hdr *fasthttp.RequestHeader) bool { FILE: ctx_interface.go type CustomCtx (line 13) | type CustomCtx interface function NewDefaultCtx (line 53) | func NewDefaultCtx(app *App) *DefaultCtx { method AcquireCtx (line 66) | func (app *App) AcquireCtx(fctx *fasthttp.RequestCtx) CustomCtx { method ReleaseCtx (line 89) | func (app *App) ReleaseCtx(c CustomCtx) { FILE: ctx_interface_gen.go type Ctx (line 18) | type Ctx interface FILE: ctx_test.go constant epsilon (line 45) | epsilon = 0.001 type testContextKey (line 47) | type testContextKey struct type testNetAddr (line 49) | type testNetAddr struct method Network (line 54) | func (t testNetAddr) Network() string { method String (line 58) | func (t testNetAddr) String() string { function Test_Ctx_Accepts (line 63) | func Test_Ctx_Accepts(t *testing.T) { function Test_Ctx_AcceptsHelpers (line 101) | func Test_Ctx_AcceptsHelpers(t *testing.T) { function Test_Ctx_ContentTypeHelpers (line 122) | func Test_Ctx_ContentTypeHelpers(t *testing.T) { function Test_Ctx_Charset (line 158) | func Test_Ctx_Charset(t *testing.T) { function Test_Ctx_HeaderHelpers (line 231) | func Test_Ctx_HeaderHelpers(t *testing.T) { function Test_Ctx_TypedParsingDefaults (line 264) | func Test_Ctx_TypedParsingDefaults(t *testing.T) { function Benchmark_Ctx_Accepts (line 292) | func Benchmark_Ctx_Accepts(b *testing.B) { type customCtx (line 321) | type customCtx struct method Params (line 325) | func (c *customCtx) Params(key string, defaultValue ...string) string ... function Test_Ctx_CustomCtx (line 330) | func Test_Ctx_CustomCtx(t *testing.T) { function Test_Ctx_CustomCtx_WithMiddleware (line 354) | func Test_Ctx_CustomCtx_WithMiddleware(t *testing.T) { function Test_Ctx_CustomCtx_and_Method (line 385) | func Test_Ctx_CustomCtx_and_Method(t *testing.T) { function Test_Ctx_Accepts_EmptyAccept (line 418) | func Test_Ctx_Accepts_EmptyAccept(t *testing.T) { function Test_Ctx_Accepts_Wildcard (line 430) | func Test_Ctx_Accepts_Wildcard(t *testing.T) { function Test_Ctx_Accepts_MultiHeader (line 444) | func Test_Ctx_Accepts_MultiHeader(t *testing.T) { function Test_Ctx_AcceptsCharsets (line 455) | func Test_Ctx_AcceptsCharsets(t *testing.T) { function Test_Ctx_AcceptsCharsets_MultiHeader (line 465) | func Test_Ctx_AcceptsCharsets_MultiHeader(t *testing.T) { function Benchmark_Ctx_AcceptsCharsets (line 476) | func Benchmark_Ctx_AcceptsCharsets(b *testing.B) { function Test_Ctx_AcceptsEncodings (line 490) | func Test_Ctx_AcceptsEncodings(t *testing.T) { function Test_Ctx_AcceptsEncodings_MultiHeader (line 501) | func Test_Ctx_AcceptsEncodings_MultiHeader(t *testing.T) { function Benchmark_Ctx_AcceptsEncodings (line 512) | func Benchmark_Ctx_AcceptsEncodings(b *testing.B) { function Test_Ctx_AcceptsLanguages (line 526) | func Test_Ctx_AcceptsLanguages(t *testing.T) { function Test_Ctx_AcceptsLanguages_MultiHeader (line 536) | func Test_Ctx_AcceptsLanguages_MultiHeader(t *testing.T) { function Test_Ctx_AcceptsLanguages_BasicFiltering (line 547) | func Test_Ctx_AcceptsLanguages_BasicFiltering(t *testing.T) { function Test_Ctx_AcceptsLanguages_CaseInsensitive (line 573) | func Test_Ctx_AcceptsLanguages_CaseInsensitive(t *testing.T) { function Test_Ctx_AcceptsLanguagesExtended (line 583) | func Test_Ctx_AcceptsLanguagesExtended(t *testing.T) { function Benchmark_Ctx_AcceptsLanguages (line 611) | func Benchmark_Ctx_AcceptsLanguages(b *testing.B) { function Test_Ctx_App (line 625) | func Test_Ctx_App(t *testing.T) { function Test_Ctx_Append (line 635) | func Test_Ctx_Append(t *testing.T) { function Benchmark_Ctx_Append (line 671) | func Benchmark_Ctx_Append(b *testing.B) { function Test_Ctx_Attachment (line 685) | func Test_Ctx_Attachment(t *testing.T) { function Test_Ctx_Attachment_SanitizesFilenameControls (line 714) | func Test_Ctx_Attachment_SanitizesFilenameControls(t *testing.T) { function Benchmark_Ctx_Attachment (line 770) | func Benchmark_Ctx_Attachment(b *testing.B) { function Test_Ctx_BaseURL (line 783) | func Test_Ctx_BaseURL(t *testing.T) { function Benchmark_Ctx_BaseURL (line 795) | func Benchmark_Ctx_BaseURL(b *testing.B) { function Test_Ctx_Body (line 810) | func Test_Ctx_Body(t *testing.T) { function Test_Ctx_BodyRaw (line 820) | func Test_Ctx_BodyRaw(t *testing.T) { function Test_Ctx_BodyRaw_Immutable (line 830) | func Test_Ctx_BodyRaw_Immutable(t *testing.T) { function Benchmark_Ctx_Body (line 840) | func Benchmark_Ctx_Body(b *testing.B) { function Benchmark_Ctx_BodyRaw (line 856) | func Benchmark_Ctx_BodyRaw(b *testing.B) { function Benchmark_Ctx_BodyRaw_Immutable (line 872) | func Benchmark_Ctx_BodyRaw_Immutable(b *testing.B) { function Test_Ctx_Body_Immutable (line 888) | func Test_Ctx_Body_Immutable(t *testing.T) { function Benchmark_Ctx_Body_Immutable (line 899) | func Benchmark_Ctx_Body_Immutable(b *testing.B) { function Test_Ctx_Body_With_Compression (line 917) | func Test_Ctx_Body_With_Compression(t *testing.T) { function Benchmark_Ctx_Body_With_Compression (line 1028) | func Benchmark_Ctx_Body_With_Compression(b *testing.B) { function Test_Ctx_Body_With_Compression_Immutable (line 1150) | func Test_Ctx_Body_With_Compression_Immutable(t *testing.T) { function Benchmark_Ctx_Body_With_Compression_Immutable (line 1262) | func Benchmark_Ctx_Body_With_Compression_Immutable(b *testing.B) { function Test_Ctx_RequestCtx (line 1385) | func Test_Ctx_RequestCtx(t *testing.T) { function Test_Ctx_Cookie (line 1394) | func Test_Ctx_Cookie(t *testing.T) { function Test_Ctx_Cookie_PartitionedSecure (line 1452) | func Test_Ctx_Cookie_PartitionedSecure(t *testing.T) { function Test_Ctx_Cookie_Invalid (line 1469) | func Test_Ctx_Cookie_Invalid(t *testing.T) { function Test_Ctx_Cookie_DefaultPath (line 1495) | func Test_Ctx_Cookie_DefaultPath(t *testing.T) { function Test_Ctx_Cookie_MaxAgeOnly (line 1514) | func Test_Ctx_Cookie_MaxAgeOnly(t *testing.T) { function Test_Ctx_Cookie_StrictPartitioned (line 1533) | func Test_Ctx_Cookie_StrictPartitioned(t *testing.T) { function Test_Ctx_Cookie_SameSite_CaseInsensitive (line 1554) | func Test_Ctx_Cookie_SameSite_CaseInsensitive(t *testing.T) { function Test_Ctx_Cookie_SameSite_None_Secure (line 1621) | func Test_Ctx_Cookie_SameSite_None_Secure(t *testing.T) { function Benchmark_Ctx_Cookie (line 1715) | func Benchmark_Ctx_Cookie(b *testing.B) { function Test_Ctx_Cookies (line 1730) | func Test_Ctx_Cookies(t *testing.T) { function Test_Ctx_Format (line 1741) | func Test_Ctx_Format(t *testing.T) { function Test_Ctx_Format_NilHandler (line 1799) | func Test_Ctx_Format_NilHandler(t *testing.T) { function Benchmark_Ctx_Format (line 1859) | func Benchmark_Ctx_Format(b *testing.B) { function Test_Ctx_AutoFormat (line 1938) | func Test_Ctx_AutoFormat(t *testing.T) { function Test_Ctx_AutoFormat_Struct (line 2011) | func Test_Ctx_AutoFormat_Struct(t *testing.T) { function Benchmark_Ctx_AutoFormat (line 2074) | func Benchmark_Ctx_AutoFormat(b *testing.B) { function Benchmark_Ctx_AutoFormat_HTML (line 2090) | func Benchmark_Ctx_AutoFormat_HTML(b *testing.B) { function Benchmark_Ctx_AutoFormat_JSON (line 2106) | func Benchmark_Ctx_AutoFormat_JSON(b *testing.B) { function Benchmark_Ctx_AutoFormat_MsgPack (line 2122) | func Benchmark_Ctx_AutoFormat_MsgPack(b *testing.B) { function Benchmark_Ctx_AutoFormat_XML (line 2143) | func Benchmark_Ctx_AutoFormat_XML(b *testing.B) { function Test_Ctx_FormFile (line 2159) | func Test_Ctx_FormFile(t *testing.T) { function Test_Ctx_FormValue (line 2209) | func Test_Ctx_FormValue(t *testing.T) { function Benchmark_Ctx_Fresh_StaleEtag (line 2240) | func Benchmark_Ctx_Fresh_StaleEtag(b *testing.B) { function Test_Ctx_Fresh (line 2256) | func Test_Ctx_Fresh(t *testing.T) { function Benchmark_Ctx_Fresh_WithNoCache (line 2306) | func Benchmark_Ctx_Fresh_WithNoCache(b *testing.B) { function Benchmark_Ctx_Fresh_LastModified (line 2318) | func Benchmark_Ctx_Fresh_LastModified(b *testing.B) { function Test_Ctx_Binders (line 2330) | func Test_Ctx_Binders(t *testing.T) { function Test_Ctx_Get (line 2446) | func Test_Ctx_Get(t *testing.T) { function Test_Ctx_GetReqHeader (line 2459) | func Test_Ctx_GetReqHeader(t *testing.T) { function Test_Ctx_Host (line 2471) | func Test_Ctx_Host(t *testing.T) { function Test_Ctx_Host_UntrustedProxy (line 2481) | func Test_Ctx_Host_UntrustedProxy(t *testing.T) { function Test_Ctx_Host_TrustedProxy (line 2504) | func Test_Ctx_Host_TrustedProxy(t *testing.T) { function Test_Ctx_Host_TrustedProxyRange (line 2569) | func Test_Ctx_Host_TrustedProxyRange(t *testing.T) { function Test_Ctx_Host_UntrustedProxyRange (line 2581) | func Test_Ctx_Host_UntrustedProxyRange(t *testing.T) { function Benchmark_Ctx_Host (line 2593) | func Benchmark_Ctx_Host(b *testing.B) { function Test_Ctx_IsProxyTrusted (line 2606) | func Test_Ctx_IsProxyTrusted(t *testing.T) { function Test_Ctx_Hostname (line 2723) | func Test_Ctx_Hostname(t *testing.T) { function Benchmark_Ctx_Hostname (line 2736) | func Benchmark_Ctx_Hostname(b *testing.B) { function Test_Ctx_Hostname_TrustedProxy (line 2760) | func Test_Ctx_Hostname_TrustedProxy(t *testing.T) { function Test_Ctx_Hostname_TrustedProxy_Multiple (line 2776) | func Test_Ctx_Hostname_TrustedProxy_Multiple(t *testing.T) { function Test_Ctx_Hostname_TrustedProxyRange (line 2792) | func Test_Ctx_Hostname_TrustedProxyRange(t *testing.T) { function Test_Ctx_Hostname_UntrustedProxyRange (line 2807) | func Test_Ctx_Hostname_UntrustedProxyRange(t *testing.T) { function Test_Ctx_Port (line 2822) | func Test_Ctx_Port(t *testing.T) { function Test_Ctx_Port_RemoteAddrVariants (line 2831) | func Test_Ctx_Port_RemoteAddrVariants(t *testing.T) { function Test_Ctx_PortInHandler (line 2889) | func Test_Ctx_PortInHandler(t *testing.T) { function Test_Ctx_IP (line 2907) | func Test_Ctx_IP(t *testing.T) { function Test_Ctx_IP_ProxyHeader (line 2922) | func Test_Ctx_IP_ProxyHeader(t *testing.T) { function Test_Ctx_IP_ProxyHeader_With_IP_Validation (line 2962) | func Test_Ctx_IP_ProxyHeader_With_IP_Validation(t *testing.T) { function Test_Ctx_IP_UntrustedProxy (line 3004) | func Test_Ctx_IP_UntrustedProxy(t *testing.T) { function Test_Ctx_IP_TrustedProxy (line 3017) | func Test_Ctx_IP_TrustedProxy(t *testing.T) { function Test_Ctx_ProxyTrust_UnixRemoteAddr (line 3029) | func Test_Ctx_ProxyTrust_UnixRemoteAddr(t *testing.T) { function runCtxProxyTrustUnixRemoteAddrCase (line 3053) | func runCtxProxyTrustUnixRemoteAddrCase(t *testing.T, unixSocket bool) s... function Test_Ctx_IPs (line 3110) | func Test_Ctx_IPs(t *testing.T) { function Test_Ctx_IPs_With_IP_Validation (line 3146) | func Test_Ctx_IPs_With_IP_Validation(t *testing.T) { function Benchmark_Ctx_IPs (line 3183) | func Benchmark_Ctx_IPs(b *testing.B) { function Benchmark_Ctx_IPs_v6 (line 3195) | func Benchmark_Ctx_IPs_v6(b *testing.B) { function Benchmark_Ctx_IPs_With_IP_Validation (line 3208) | func Benchmark_Ctx_IPs_With_IP_Validation(b *testing.B) { function Benchmark_Ctx_IPs_v6_With_IP_Validation (line 3220) | func Benchmark_Ctx_IPs_v6_With_IP_Validation(b *testing.B) { function Benchmark_Ctx_IP_With_ProxyHeader (line 3233) | func Benchmark_Ctx_IP_With_ProxyHeader(b *testing.B) { function Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation (line 3253) | func Benchmark_Ctx_IP_With_ProxyHeader_and_IP_Validation(b *testing.B) { function Benchmark_Ctx_IP (line 3274) | func Benchmark_Ctx_IP(b *testing.B) { function Test_Ctx_Is (line 3287) | func Test_Ctx_Is(t *testing.T) { function Benchmark_Ctx_Is (line 3332) | func Benchmark_Ctx_Is(b *testing.B) { function Test_Ctx_Locals (line 3347) | func Test_Ctx_Locals(t *testing.T) { function Test_Ctx_Deadline (line 3364) | func Test_Ctx_Deadline(t *testing.T) { function Test_Ctx_Done (line 3382) | func Test_Ctx_Done(t *testing.T) { function Test_Ctx_Err (line 3399) | func Test_Ctx_Err(t *testing.T) { function Test_Ctx_Value (line 3415) | func Test_Ctx_Value(t *testing.T) { function Test_Ctx_Value_AfterRelease (line 3432) | func Test_Ctx_Value_AfterRelease(t *testing.T) { function Test_Ctx_Value_InGoroutine (line 3454) | func Test_Ctx_Value_InGoroutine(t *testing.T) { function Test_Ctx_Context (line 3511) | func Test_Ctx_Context(t *testing.T) { function Test_Ctx_AccessAfterHandlerPanics (line 3531) | func Test_Ctx_AccessAfterHandlerPanics(t *testing.T) { function Test_Ctx_Context_AfterHandlerPanics (line 3547) | func Test_Ctx_Context_AfterHandlerPanics(t *testing.T) { function Test_Ctx_Request_Response_AfterRelease (line 3567) | func Test_Ctx_Request_Response_AfterRelease(t *testing.T) { function Test_Ctx_SetContext (line 3591) | func Test_Ctx_SetContext(t *testing.T) { type contextHelperTestKey (line 3603) | type contextHelperTestKey struct function Test_Ctx_StoreInContext_Config (line 3605) | func Test_Ctx_StoreInContext_Config(t *testing.T) { function Test_Ctx_ValueFromContext_Config (line 3644) | func Test_Ctx_ValueFromContext_Config(t *testing.T) { function Test_Ctx_Context_Multiple_Requests (line 3720) | func Test_Ctx_Context_Multiple_Requests(t *testing.T) { function Test_Ctx_Locals_Generic (line 3757) | func Test_Ctx_Locals_Generic(t *testing.T) { function Test_Ctx_Locals_GenericCustomStruct (line 3779) | func Test_Ctx_Locals_GenericCustomStruct(t *testing.T) { function Test_Ctx_Method (line 3802) | func Test_Ctx_Method(t *testing.T) { function Test_Ctx_ClientHelloInfo (line 3818) | func Test_Ctx_ClientHelloInfo(t *testing.T) { function Test_Ctx_InvalidMethod (line 3889) | func Test_Ctx_InvalidMethod(t *testing.T) { function Test_Ctx_MultipartForm (line 3907) | func Test_Ctx_MultipartForm(t *testing.T) { function Benchmark_Ctx_MultipartForm (line 3934) | func Benchmark_Ctx_MultipartForm(b *testing.B) { function Test_Ctx_OriginalURL (line 3959) | func Test_Ctx_OriginalURL(t *testing.T) { function Test_Ctx_Params (line 3969) | func Test_Ctx_Params(t *testing.T) { function Test_Ctx_Params_ErrorHandler_Panic_Issue_2832 (line 4020) | func Test_Ctx_Params_ErrorHandler_Panic_Issue_2832(t *testing.T) { function Test_Ctx_Params_Case_Sensitive (line 4039) | func Test_Ctx_Params_Case_Sensitive(t *testing.T) { function Test_Ctx_Params_Immutable (line 4061) | func Test_Ctx_Params_Immutable(t *testing.T) { function Benchmark_Ctx_Params (line 4080) | func Benchmark_Ctx_Params(b *testing.B) { function Test_Ctx_Path (line 4104) | func Test_Ctx_Path(t *testing.T) { function Test_Ctx_Protocol (line 4132) | func Test_Ctx_Protocol(t *testing.T) { function Benchmark_Ctx_Protocol (line 4145) | func Benchmark_Ctx_Protocol(b *testing.B) { function Test_Ctx_Scheme (line 4160) | func Test_Ctx_Scheme(t *testing.T) { function Test_Ctx_Scheme_HeaderNormalization (line 4204) | func Test_Ctx_Scheme_HeaderNormalization(t *testing.T) { function Benchmark_Ctx_Scheme (line 4237) | func Benchmark_Ctx_Scheme(b *testing.B) { function Test_Ctx_Scheme_TrustedProxy (line 4250) | func Test_Ctx_Scheme_TrustedProxy(t *testing.T) { function Test_Ctx_Scheme_TrustedProxyRange (line 4275) | func Test_Ctx_Scheme_TrustedProxyRange(t *testing.T) { function Test_Ctx_Scheme_UntrustedProxyRange (line 4303) | func Test_Ctx_Scheme_UntrustedProxyRange(t *testing.T) { function Test_Ctx_Scheme_UnTrustedProxy (line 4331) | func Test_Ctx_Scheme_UnTrustedProxy(t *testing.T) { function Test_Ctx_Query (line 4359) | func Test_Ctx_Query(t *testing.T) { function Benchmark_Ctx_Query (line 4376) | func Benchmark_Ctx_Query(b *testing.B) { function Test_Ctx_Range (line 4389) | func Test_Ctx_Range(t *testing.T) { function Test_Ctx_Range_LargeFile (line 4424) | func Test_Ctx_Range_LargeFile(t *testing.T) { function Test_Ctx_Range_Overflow (line 4449) | func Test_Ctx_Range_Overflow(t *testing.T) { function Test_Ctx_Range_Unsatisfiable (line 4466) | func Test_Ctx_Range_Unsatisfiable(t *testing.T) { function Test_Ctx_Range_TooManyRanges (line 4485) | func Test_Ctx_Range_TooManyRanges(t *testing.T) { function Test_Ctx_Range_SuffixNormalization (line 4504) | func Test_Ctx_Range_SuffixNormalization(t *testing.T) { function Benchmark_Ctx_Range (line 4610) | func Benchmark_Ctx_Range(b *testing.B) { function Test_Ctx_Route (line 4645) | func Test_Ctx_Route(t *testing.T) { function Test_Ctx_FullPath (line 4664) | func Test_Ctx_FullPath(t *testing.T) { function Test_Ctx_FullPath_Group (line 4681) | func Test_Ctx_FullPath_Group(t *testing.T) { function Test_Ctx_FullPath_Middleware (line 4699) | func Test_Ctx_FullPath_Middleware(t *testing.T) { function Test_Ctx_RouteNormalized (line 4731) | func Test_Ctx_RouteNormalized(t *testing.T) { function Test_Ctx_SaveFile (line 4744) | func Test_Ctx_SaveFile(t *testing.T) { function createMultipartFileHeader (line 4790) | func createMultipartFileHeader(t *testing.T, filename string, data []byt... function Test_Ctx_SaveFileToStorage (line 4818) | func Test_Ctx_SaveFileToStorage(t *testing.T) { function Test_Ctx_SaveFileToStorage_LargeUpload (line 4859) | func Test_Ctx_SaveFileToStorage_LargeUpload(t *testing.T) { function Test_Ctx_SaveFileToStorage_LimitExceeded (line 4884) | func Test_Ctx_SaveFileToStorage_LimitExceeded(t *testing.T) { function Test_Ctx_SaveFileToStorage_LimitExceededUnknownSize (line 4906) | func Test_Ctx_SaveFileToStorage_LimitExceededUnknownSize(t *testing.T) { type captureStorage (line 4929) | type captureStorage struct method helperFailure (line 4934) | func (s *captureStorage) helperFailure(msg string, args ...any) { method ensureStore (line 4939) | func (s *captureStorage) ensureStore(key string, val []byte) { method GetWithContext (line 4952) | func (s *captureStorage) GetWithContext(context.Context, string) ([]by... method Get (line 4957) | func (s *captureStorage) Get(string) ([]byte, error) { method SetWithContext (line 4962) | func (s *captureStorage) SetWithContext(_ context.Context, key string,... method Set (line 4967) | func (s *captureStorage) Set(key string, _ []byte, _ time.Duration) er... method DeleteWithContext (line 4972) | func (s *captureStorage) DeleteWithContext(context.Context, string) er... method Delete (line 4977) | func (s *captureStorage) Delete(string) error { method ResetWithContext (line 4982) | func (s *captureStorage) ResetWithContext(context.Context) error { method Reset (line 4987) | func (s *captureStorage) Reset() error { method Close (line 4992) | func (s *captureStorage) Close() error { function Test_Ctx_SaveFileToStorage_BufferNotReused (line 5001) | func Test_Ctx_SaveFileToStorage_BufferNotReused(t *testing.T) { type mockContextAwareStorage (line 5029) | type mockContextAwareStorage struct method helperFailure (line 5039) | func (s *mockContextAwareStorage) helperFailure(msg string, args ...an... method GetWithContext (line 5044) | func (s *mockContextAwareStorage) GetWithContext(context.Context, stri... method Get (line 5049) | func (s *mockContextAwareStorage) Get(string) ([]byte, error) { method SetWithContext (line 5054) | func (s *mockContextAwareStorage) SetWithContext(ctx context.Context, ... method Set (line 5076) | func (s *mockContextAwareStorage) Set(string, []byte, time.Duration) e... method DeleteWithContext (line 5081) | func (s *mockContextAwareStorage) DeleteWithContext(context.Context, s... method Delete (line 5086) | func (s *mockContextAwareStorage) Delete(string) error { method ResetWithContext (line 5091) | func (s *mockContextAwareStorage) ResetWithContext(context.Context) er... method Reset (line 5096) | func (s *mockContextAwareStorage) Reset() error { method Close (line 5101) | func (s *mockContextAwareStorage) Close() error { function Test_Ctx_SaveFileToStorage_ContextPropagation (line 5109) | func Test_Ctx_SaveFileToStorage_ContextPropagation(t *testing.T) { function Test_Ctx_Secure (line 5163) | func Test_Ctx_Secure(t *testing.T) { function Test_Ctx_Stale (line 5173) | func Test_Ctx_Stale(t *testing.T) { function Test_Ctx_Subdomains (line 5182) | func Test_Ctx_Subdomains(t *testing.T) { function Benchmark_Ctx_Subdomains (line 5310) | func Benchmark_Ctx_Subdomains(b *testing.B) { function Test_Ctx_ClearCookie (line 5324) | func Test_Ctx_ClearCookie(t *testing.T) { function Test_Ctx_Download (line 5341) | func Test_Ctx_Download(t *testing.T) { function Test_Ctx_Download_SanitizesFilenameControls (line 5369) | func Test_Ctx_Download_SanitizesFilenameControls(t *testing.T) { function Test_Ctx_SendEarlyHints (line 5415) | func Test_Ctx_SendEarlyHints(t *testing.T) { function Test_Ctx_SendFile (line 5439) | func Test_Ctx_SendFile(t *testing.T) { function Test_Ctx_SendFile_ContentType (line 5485) | func Test_Ctx_SendFile_ContentType(t *testing.T) { function Test_Ctx_SendFile_Download (line 5527) | func Test_Ctx_SendFile_Download(t *testing.T) { function Test_Ctx_SendFile_MaxAge (line 5556) | func Test_Ctx_SendFile_MaxAge(t *testing.T) { function Test_Static_Compress (line 5587) | func Test_Static_Compress(t *testing.T) { function Test_Ctx_SendFile_Compress_CheckCompressed (line 5617) | func Test_Ctx_SendFile_Compress_CheckCompressed(t *testing.T) { function Test_Ctx_SendFile_EmbedFS (line 5682) | func Test_Ctx_SendFile_EmbedFS(t *testing.T) { function Test_Ctx_SendFile_404 (line 5712) | func Test_Ctx_SendFile_404(t *testing.T) { function Test_Ctx_SendFile_Multiple (line 5728) | func Test_Ctx_SendFile_Multiple(t *testing.T) { function Test_Ctx_SendFile_Immutable (line 5787) | func Test_Ctx_SendFile_Immutable(t *testing.T) { function Test_Ctx_SendFile_RestoreOriginalURL (line 5832) | func Test_Ctx_SendFile_RestoreOriginalURL(t *testing.T) { function Test_SendFile_withRoutes (line 5850) | func Test_SendFile_withRoutes(t *testing.T) { function Test_SendFile_ByteRange (line 5884) | func Test_SendFile_ByteRange(t *testing.T) { function Benchmark_Ctx_SendFile (line 6077) | func Benchmark_Ctx_SendFile(b *testing.B) { function Test_Ctx_JSON (line 6093) | func Test_Ctx_JSON(t *testing.T) { function Benchmark_Ctx_JSON (line 6150) | func Benchmark_Ctx_JSON(b *testing.B) { function Test_Ctx_MsgPack (line 6172) | func Test_Ctx_MsgPack(t *testing.T) { function Benchmark_Ctx_MsgPack (line 6252) | func Benchmark_Ctx_MsgPack(b *testing.B) { function Test_Ctx_CBOR (line 6279) | func Test_Ctx_CBOR(t *testing.T) { function Benchmark_Ctx_CBOR (line 6351) | func Benchmark_Ctx_CBOR(b *testing.B) { function Benchmark_Ctx_JSON_Ctype (line 6376) | func Benchmark_Ctx_JSON_Ctype(b *testing.B) { function Test_Ctx_JSONP (line 6399) | func Test_Ctx_JSONP(t *testing.T) { function Benchmark_Ctx_JSONP (line 6443) | func Benchmark_Ctx_JSONP(b *testing.B) { function Test_Ctx_XML (line 6466) | func Test_Ctx_XML(t *testing.T) { function Benchmark_Ctx_XML (line 6526) | func Benchmark_Ctx_XML(b *testing.B) { function Test_Ctx_Links (line 6548) | func Test_Ctx_Links(t *testing.T) { function Benchmark_Ctx_Links (line 6564) | func Benchmark_Ctx_Links(b *testing.B) { function Test_Ctx_Location (line 6578) | func Test_Ctx_Location(t *testing.T) { function Test_Ctx_Next (line 6588) | func Test_Ctx_Next(t *testing.T) { function Test_Ctx_Next_Error (line 6605) | func Test_Ctx_Next_Error(t *testing.T) { function Test_Ctx_Render (line 6620) | func Test_Ctx_Render(t *testing.T) { function Test_Ctx_RenderWithoutLocals (line 6639) | func Test_Ctx_RenderWithoutLocals(t *testing.T) { function Test_Ctx_RenderWithLocals (line 6653) | func Test_Ctx_RenderWithLocals(t *testing.T) { function Test_Ctx_Matched_AfterNext (line 6682) | func Test_Ctx_Matched_AfterNext(t *testing.T) { function Test_Ctx_Matched_RouteError (line 6710) | func Test_Ctx_Matched_RouteError(t *testing.T) { function Test_Ctx_IsMiddleware (line 6728) | func Test_Ctx_IsMiddleware(t *testing.T) { function Test_Ctx_HasBody (line 6759) | func Test_Ctx_HasBody(t *testing.T) { function Test_Ctx_IsWebSocket (line 6854) | func Test_Ctx_IsWebSocket(t *testing.T) { function Test_Ctx_IsPreflight (line 6873) | func Test_Ctx_IsPreflight(t *testing.T) { function Test_Ctx_RenderWithViewBind (line 6903) | func Test_Ctx_RenderWithViewBind(t *testing.T) { function Test_Ctx_RenderWithOverwrittenViewBind (line 6924) | func Test_Ctx_RenderWithOverwrittenViewBind(t *testing.T) { function Test_Ctx_RenderWithViewBindLocals (line 6946) | func Test_Ctx_RenderWithViewBindLocals(t *testing.T) { function Test_Ctx_RenderWithLocalsAndBinding (line 6968) | func Test_Ctx_RenderWithLocalsAndBinding(t *testing.T) { function Benchmark_Ctx_RenderWithLocalsAndViewBind (line 6990) | func Benchmark_Ctx_RenderWithLocalsAndViewBind(b *testing.B) { function Benchmark_Ctx_RenderLocals (line 7016) | func Benchmark_Ctx_RenderLocals(b *testing.B) { function Benchmark_Ctx_RenderViewBind (line 7038) | func Benchmark_Ctx_RenderViewBind(b *testing.B) { function Test_Ctx_RestartRouting (line 7062) | func Test_Ctx_RestartRouting(t *testing.T) { function Test_Ctx_RestartRoutingWithChangedPath (line 7080) | func Test_Ctx_RestartRoutingWithChangedPath(t *testing.T) { function Test_Ctx_RestartRoutingWithChangedPathAndCatchAll (line 7106) | func Test_Ctx_RestartRoutingWithChangedPathAndCatchAll(t *testing.T) { type testTemplateEngine (line 7126) | type testTemplateEngine struct method Render (line 7131) | func (t *testTemplateEngine) Render(w io.Writer, name string, bind any... method Load (line 7147) | func (t *testTemplateEngine) Load() error { function Test_Ctx_Render_Engine (line 7156) | func Test_Ctx_Render_Engine(t *testing.T) { function Test_Ctx_Render_Engine_With_View_Layout (line 7172) | func Test_Ctx_Render_Engine_With_View_Layout(t *testing.T) { function Benchmark_Ctx_Render_Engine (line 7188) | func Benchmark_Ctx_Render_Engine(b *testing.B) { function Benchmark_Ctx_Get_Location_From_Route (line 7207) | func Benchmark_Ctx_Get_Location_From_Route(b *testing.B) { function Test_Ctx_Get_Location_From_Route_name (line 7227) | func Test_Ctx_Get_Location_From_Route_name(t *testing.T) { function Test_Ctx_Get_Location_From_Route_name_Optional_greedy (line 7267) | func Test_Ctx_Get_Location_From_Route_name_Optional_greedy(t *testing.T) { function Test_Ctx_Get_Location_From_Route_name_Optional_greedy_one_param (line 7286) | func Test_Ctx_Get_Location_From_Route_name_Optional_greedy_one_param(t *... type errorTemplateEngine (line 7303) | type errorTemplateEngine struct method Render (line 7305) | func (errorTemplateEngine) Render(_ io.Writer, _ string, _ any, _ ...s... method Load (line 7309) | func (errorTemplateEngine) Load() error { return nil } function Test_Ctx_Render_Engine_Error (line 7312) | func Test_Ctx_Render_Engine_Error(t *testing.T) { function Test_Ctx_Render_Go_Template (line 7323) | func Test_Ctx_Render_Go_Template(t *testing.T) { function Test_Ctx_Send (line 7348) | func Test_Ctx_Send(t *testing.T) { function Benchmark_Ctx_Send (line 7360) | func Benchmark_Ctx_Send(b *testing.B) { function Test_Ctx_SendStatus (line 7376) | func Test_Ctx_SendStatus(t *testing.T) { function Test_Ctx_SendStatusNoBodyResponses (line 7387) | func Test_Ctx_SendStatusNoBodyResponses(t *testing.T) { function Test_Ctx_SendString (line 7442) | func Test_Ctx_SendString(t *testing.T) { function Test_Ctx_SendStream (line 7453) | func Test_Ctx_SendStream(t *testing.T) { function Test_Ctx_SendStreamWriter (line 7472) | func Test_Ctx_SendStreamWriter(t *testing.T) { function Test_Ctx_SendStreamWriter_Interrupted (line 7501) | func Test_Ctx_SendStreamWriter_Interrupted(t *testing.T) { function Test_Ctx_Set (line 7542) | func Test_Ctx_Set(t *testing.T) { function Test_Ctx_Set_Splitter (line 7557) | func Test_Ctx_Set_Splitter(t *testing.T) { function Benchmark_Ctx_Set (line 7572) | func Benchmark_Ctx_Set(b *testing.B) { function Test_Ctx_Status (line 7584) | func Test_Ctx_Status(t *testing.T) { function Test_Ctx_Type (line 7598) | func Test_Ctx_Type(t *testing.T) { function Test_shouldIncludeCharset (line 7641) | func Test_shouldIncludeCharset(t *testing.T) { function Benchmark_Ctx_Type (line 7683) | func Benchmark_Ctx_Type(b *testing.B) { function Benchmark_Ctx_Type_Charset (line 7695) | func Benchmark_Ctx_Type_Charset(b *testing.B) { function Test_Ctx_Vary (line 7707) | func Test_Ctx_Vary(t *testing.T) { function Benchmark_Ctx_Vary (line 7719) | func Benchmark_Ctx_Vary(b *testing.B) { function Test_Ctx_Write (line 7730) | func Test_Ctx_Write(t *testing.T) { function Benchmark_Ctx_Write (line 7743) | func Benchmark_Ctx_Write(b *testing.B) { function Test_Ctx_Writef (line 7758) | func Test_Ctx_Writef(t *testing.T) { function Benchmark_Ctx_Writef (line 7770) | func Benchmark_Ctx_Writef(b *testing.B) { function Test_Ctx_WriteString (line 7785) | func Test_Ctx_WriteString(t *testing.T) { function Test_Ctx_XHR (line 7798) | func Test_Ctx_XHR(t *testing.T) { function Benchmark_Ctx_XHR (line 7808) | func Benchmark_Ctx_XHR(b *testing.B) { function Benchmark_Ctx_SendString_B (line 7822) | func Benchmark_Ctx_SendString_B(b *testing.B) { function Test_Ctx_Queries (line 7838) | func Test_Ctx_Queries(t *testing.T) { function Benchmark_Ctx_Queries (line 7887) | func Benchmark_Ctx_Queries(b *testing.B) { function Test_Ctx_BodyStreamWriter (line 7908) | func Test_Ctx_BodyStreamWriter(t *testing.T) { function Benchmark_Ctx_BodyStreamWriter (line 7933) | func Benchmark_Ctx_BodyStreamWriter(b *testing.B) { function Test_Ctx_String (line 7953) | func Test_Ctx_String(t *testing.T) { function Benchmark_Ctx_String (line 7962) | func Benchmark_Ctx_String(b *testing.B) { function Test_Ctx_IsFromLocal_X_Forwarded (line 7975) | func Test_Ctx_IsFromLocal_X_Forwarded(t *testing.T) { function Test_Ctx_IsFromLocal_RemoteAddr (line 8020) | func Test_Ctx_IsFromLocal_RemoteAddr(t *testing.T) { function Test_Ctx_extractIPsFromHeader (line 8109) | func Test_Ctx_extractIPsFromHeader(t *testing.T) { function Test_Ctx_extractIPsFromHeader_EnableValidateIp (line 8119) | func Test_Ctx_extractIPsFromHeader_EnableValidateIp(t *testing.T) { function Test_Ctx_GetRespHeaders (line 8130) | func Test_Ctx_GetRespHeaders(t *testing.T) { function Benchmark_Ctx_GetRespHeaders (line 8155) | func Benchmark_Ctx_GetRespHeaders(b *testing.B) { function Test_Ctx_GetReqHeaders (line 8178) | func Test_Ctx_GetReqHeaders(t *testing.T) { function Test_Ctx_Set_SanitizeHeaderValue (line 8203) | func Test_Ctx_Set_SanitizeHeaderValue(t *testing.T) { function Benchmark_Ctx_GetReqHeaders (line 8215) | func Benchmark_Ctx_GetReqHeaders(b *testing.B) { function Test_Ctx_Drop (line 8238) | func Test_Ctx_Drop(t *testing.T) { function Test_Ctx_DropWithMiddleware (line 8267) | func Test_Ctx_DropWithMiddleware(t *testing.T) { function Test_Ctx_End (line 8291) | func Test_Ctx_End(t *testing.T) { function Test_Ctx_End_after_timeout (line 8309) | func Test_Ctx_End_after_timeout(t *testing.T) { function Test_Ctx_End_with_drop_middleware (line 8324) | func Test_Ctx_End_with_drop_middleware(t *testing.T) { function Test_Ctx_End_after_drop (line 8347) | func Test_Ctx_End_after_drop(t *testing.T) { function Test_Ctx_OverrideParam (line 8368) | func Test_Ctx_OverrideParam(t *testing.T) { function Test_Ctx_AbandonSkipsReleaseCtx (line 8525) | func Test_Ctx_AbandonSkipsReleaseCtx(t *testing.T) { function Test_Ctx_ForceReleaseClearsAbandon (line 8548) | func Test_Ctx_ForceReleaseClearsAbandon(t *testing.T) { function Benchmark_Ctx_IsProxyTrusted (line 8564) | func Benchmark_Ctx_IsProxyTrusted(b *testing.B) { function Benchmark_Ctx_IsFromLocalhost (line 8987) | func Benchmark_Ctx_IsFromLocalhost(b *testing.B) { function Benchmark_Ctx_OverrideParam (line 9014) | func Benchmark_Ctx_OverrideParam(b *testing.B) { FILE: error_test.go function Test_ConversionError (line 12) | func Test_ConversionError(t *testing.T) { function Test_UnknownKeyError (line 18) | func Test_UnknownKeyError(t *testing.T) { function Test_EmptyFieldError (line 24) | func Test_EmptyFieldError(t *testing.T) { function Test_MultiError (line 30) | func Test_MultiError(t *testing.T) { function Test_InvalidUnmarshalError (line 36) | func Test_InvalidUnmarshalError(t *testing.T) { function Test_MarshalerError (line 43) | func Test_MarshalerError(t *testing.T) { function Test_SyntaxError (line 50) | func Test_SyntaxError(t *testing.T) { function Test_UnmarshalTypeError (line 57) | func Test_UnmarshalTypeError(t *testing.T) { function Test_UnsupportedTypeError (line 64) | func Test_UnsupportedTypeError(t *testing.T) { function Test_UnsupportedValeError (line 71) | func Test_UnsupportedValeError(t *testing.T) { FILE: extractors/extractors.go type Source (line 38) | type Source constant SourceHeader (line 42) | SourceHeader Source = iota constant SourceAuthHeader (line 45) | SourceAuthHeader constant SourceForm (line 48) | SourceForm constant SourceQuery (line 51) | SourceQuery constant SourceParam (line 54) | SourceParam constant SourceCookie (line 57) | SourceCookie constant SourceCustom (line 60) | SourceCustom type Extractor (line 67) | type Extractor struct function FromAuthHeader (line 115) | func FromAuthHeader(authScheme string) Extractor { function FromCookie (line 180) | func FromCookie(key string) Extractor { function FromParam (line 220) | func FromParam(param string) Extractor { function FromForm (line 263) | func FromForm(param string) Extractor { function FromHeader (line 302) | func FromHeader(header string) Extractor { function FromQuery (line 343) | func FromQuery(param string) Extractor { function FromCustom (line 406) | func FromCustom(key string, fn func(fiber.Ctx) (string, error)) Extractor { function Chain (line 462) | func Chain(extractors ...Extractor) Extractor { function isValidToken68 (line 506) | func isValidToken68(token string) bool { FILE: extractors/extractors_test.go function Test_Extractors_Missing (line 15) | func Test_Extractors_Missing(t *testing.T) { function newRequest (line 59) | func newRequest(method, target string) *http.Request { function Test_Extractors (line 68) | func Test_Extractors(t *testing.T) { function Test_Extractor_Chain (line 149) | func Test_Extractor_Chain(t *testing.T) { function Test_Extractor_FromAuthHeader_EdgeCases (line 220) | func Test_Extractor_FromAuthHeader_EdgeCases(t *testing.T) { function Test_Extractor_Chain_Introspection (line 261) | func Test_Extractor_Chain_Introspection(t *testing.T) { function Test_Extractor_FromCustom (line 286) | func Test_Extractor_FromCustom(t *testing.T) { function Test_Extractor_Chain_Error_Propagation (line 364) | func Test_Extractor_Chain_Error_Propagation(t *testing.T) { function Test_Extractor_Chain_With_Success (line 401) | func Test_Extractor_Chain_With_Success(t *testing.T) { function Test_Extractor_FromAuthHeader_CustomScheme (line 434) | func Test_Extractor_FromAuthHeader_CustomScheme(t *testing.T) { function Test_Extractor_FromAuthHeader_WhitespaceToken (line 456) | func Test_Extractor_FromAuthHeader_WhitespaceToken(t *testing.T) { function Test_Extractor_FromAuthHeader_RFC_Compliance (line 479) | func Test_Extractor_FromAuthHeader_RFC_Compliance(t *testing.T) { function Test_Extractor_FromAuthHeader_Token68_Validation (line 579) | func Test_Extractor_FromAuthHeader_Token68_Validation(t *testing.T) { function Test_Extractor_FromAuthHeader_NoScheme (line 640) | func Test_Extractor_FromAuthHeader_NoScheme(t *testing.T) { function Test_Extractor_Chain_NilFunctions (line 678) | func Test_Extractor_Chain_NilFunctions(t *testing.T) { function Test_Extractor_Chain_AllErrors (line 709) | func Test_Extractor_Chain_AllErrors(t *testing.T) { function Test_Extractor_Chain_MixedScenarios (line 747) | func Test_Extractor_Chain_MixedScenarios(t *testing.T) { function Test_Extractor_SourceTypes (line 817) | func Test_Extractor_SourceTypes(t *testing.T) { function Test_Extractor_URL_Encoded (line 845) | func Test_Extractor_URL_Encoded(t *testing.T) { function Test_isValidToken68 (line 902) | func Test_isValidToken68(t *testing.T) { FILE: group.go type Group (line 14) | type Group struct method Name (line 27) | func (grp *Group) Name(name string) Router { method Use (line 70) | func (grp *Group) Use(args ...any) Router { method Get (line 114) | func (grp *Group) Get(path string, handler any, handlers ...any) Router { method Head (line 120) | func (grp *Group) Head(path string, handler any, handlers ...any) Rout... method Post (line 126) | func (grp *Group) Post(path string, handler any, handlers ...any) Rout... method Put (line 132) | func (grp *Group) Put(path string, handler any, handlers ...any) Router { method Delete (line 137) | func (grp *Group) Delete(path string, handler any, handlers ...any) Ro... method Connect (line 143) | func (grp *Group) Connect(path string, handler any, handlers ...any) R... method Options (line 149) | func (grp *Group) Options(path string, handler any, handlers ...any) R... method Trace (line 155) | func (grp *Group) Trace(path string, handler any, handlers ...any) Rou... method Patch (line 161) | func (grp *Group) Patch(path string, handler any, handlers ...any) Rou... method Add (line 167) | func (grp *Group) Add(methods []string, path string, handler any, hand... method All (line 178) | func (grp *Group) All(path string, handler any, handlers ...any) Router { method Group (line 187) | func (grp *Group) Group(prefix string, handlers ...any) Router { method RouteChain (line 205) | func (grp *Group) RouteChain(path string) Register { method Route (line 215) | func (grp *Group) Route(prefix string, fn func(router Router), name ..... FILE: helpers.go type acceptedType (line 37) | type acceptedType struct constant noCacheValue (line 45) | noCacheValue = "no-cache" type headerParams (line 54) | type headerParams function ValueFromContext (line 62) | func ValueFromContext[T any](ctx, key any) (T, bool) { function StoreInContext (line 83) | func StoreInContext(c Ctx, key, value any) { function getTLSConfig (line 92) | func getTLSConfig(ln net.Listener) *tls.Config { function readContent (line 158) | func readContent(rf io.ReaderFrom, name string) (int64, error) { method quoteString (line 178) | func (app *App) quoteString(raw string) string { method quoteRawString (line 188) | func (app *App) quoteRawString(raw string) string { method isASCII (line 220) | func (*App) isASCII(s string) bool { function uniqueRouteStack (line 230) | func uniqueRouteStack(stack []*Route) []*Route { function defaultString (line 244) | func defaultString(value string, defaultValue []string) string { function getGroupPath (line 251) | func getGroupPath(prefix, path string) string { function acceptsOffer (line 266) | func acceptsOffer(spec, offer string, _ headerParams) bool { function acceptsLanguageOfferBasic (line 284) | func acceptsLanguageOfferBasic(spec, offer string, _ headerParams) bool { function acceptsLanguageOfferExtended (line 305) | func acceptsLanguageOfferExtended(spec, offer string, _ headerParams) bo... function acceptsOfferType (line 363) | func acceptsOfferType(spec, offerType string, specParams headerParams) b... function paramsMatch (line 412) | func paramsMatch(specParamStr headerParams, offerParams string) bool { function getSplicedStrList (line 446) | func getSplicedStrList(headerValue string, dst []string) []string { function joinHeaderValues (line 464) | func joinHeaderValues(headers [][]byte) []byte { function unescapeHeaderValue (line 475) | func unescapeHeaderValue(v []byte) ([]byte, error) { function forEachMediaRange (line 506) | func forEachMediaRange(header []byte, functor func([]byte)) { function getOffer (line 562) | func getOffer(header []byte, isAccepted func(spec, offer string, specPar... function sortAcceptedTypes (line 677) | func sortAcceptedTypes(at []acceptedType) { function normalizeEtag (line 699) | func normalizeEtag(t string) (value string, weak, ok bool) { //nolint:no... function matchEtag (line 714) | func matchEtag(s, etag string) bool { function matchEtagStrong (line 727) | func matchEtagStrong(s, etag string) bool { method isEtagStale (line 740) | func (app *App) isEtagStale(etag string, noneMatchBytes []byte) bool { function parseAddr (line 772) | func parseAddr(raw string) (host, port string) { //nolint:nonamedreturns... function isNoCache (line 812) | func isNoCache(cacheControl string) bool { function isNoCacheDelimiter (line 843) | func isNoCacheDelimiter(c byte) bool { function matchNoCacheToken (line 847) | func matchNoCacheToken(s string, i int) bool { type testConn (line 864) | type testConn struct method Read (line 872) | func (c *testConn) Read(b []byte) (int, error) { method Write (line 880) | func (c *testConn) Write(b []byte) (int, error) { method Close (line 891) | func (c *testConn) Close() error { method LocalAddr (line 900) | func (*testConn) LocalAddr() net.Addr { return &net.TCPAddr{Port: 0, Z... method RemoteAddr (line 903) | func (*testConn) RemoteAddr() net.Addr { return &net.TCPAddr{Port: 0, ... method SetDeadline (line 906) | func (*testConn) SetDeadline(_ time.Time) error { return nil } method SetReadDeadline (line 909) | func (*testConn) SetReadDeadline(_ time.Time) error { return nil } method SetWriteDeadline (line 912) | func (*testConn) SetWriteDeadline(_ time.Time) error { return nil } function toStringImmutable (line 914) | func toStringImmutable(b []byte) string { function toBytesImmutable (line 918) | func toBytesImmutable(s string) []byte { method methodInt (line 923) | func (app *App) methodInt(s string) int { method method (line 953) | func (app *App) method(methodInt int) string { function IsMethodSafe (line 959) | func IsMethodSafe(m string) bool { function IsMethodIdempotent (line 973) | func IsMethodIdempotent(m string) bool { function Convert (line 987) | func Convert[T any](value string, converter func(string) (T, error), def... function genericParseType (line 1006) | func genericParseType[V GenericType](str string) (V, error) { type GenericType (line 1104) | type GenericType interface type GenericTypeInteger (line 1109) | type GenericTypeInteger interface type GenericTypeIntegerSigned (line 1114) | type GenericTypeIntegerSigned interface type GenericTypeIntegerUnsigned (line 1119) | type GenericTypeIntegerUnsigned interface type GenericTypeFloat (line 1124) | type GenericTypeFloat interface FILE: helpers_fuzz_test.go function FuzzUtilsGetOffer (line 10) | func FuzzUtilsGetOffer(f *testing.F) { FILE: helpers_test.go function Test_Utils_GetOffer (line 24) | func Test_Utils_GetOffer(t *testing.T) { function Test_ReadContentReturnsBytes (line 117) | func Test_ReadContentReturnsBytes(t *testing.T) { type wrappedListener (line 138) | type wrappedListener struct type tlsConfigMethodListener (line 142) | type tlsConfigMethodListener struct method TLSConfig (line 147) | func (ln *tlsConfigMethodListener) TLSConfig() *tls.Config { type configMethodListener (line 151) | type configMethodListener struct method Config (line 156) | func (ln *configMethodListener) Config() *tls.Config { function Test_GetTLSConfig (line 160) | func Test_GetTLSConfig(t *testing.T) { function newLocalListener (line 228) | func newLocalListener(t *testing.T) net.Listener { function Benchmark_Utils_GetOffer (line 238) | func Benchmark_Utils_GetOffer(b *testing.B) { function Test_Utils_ParamsMatch (line 324) | func Test_Utils_ParamsMatch(t *testing.T) { function Benchmark_Utils_ParamsMatch (line 374) | func Benchmark_Utils_ParamsMatch(b *testing.B) { function Test_Utils_AcceptsOfferType (line 388) | func Test_Utils_AcceptsOfferType(t *testing.T) { function Test_Utils_GetSplicedStrList (line 456) | func Test_Utils_GetSplicedStrList(t *testing.T) { function Benchmark_Utils_GetSplicedStrList (line 526) | func Benchmark_Utils_GetSplicedStrList(b *testing.B) { function Test_Utils_SortAcceptedTypes (line 537) | func Test_Utils_SortAcceptedTypes(t *testing.T) { function Benchmark_Utils_SortAcceptedTypes_Sorted (line 571) | func Benchmark_Utils_SortAcceptedTypes_Sorted(b *testing.B) { function Benchmark_Utils_SortAcceptedTypes_Unsorted (line 586) | func Benchmark_Utils_SortAcceptedTypes_Unsorted(b *testing.B) { function Test_Utils_UniqueRouteStack (line 618) | func Test_Utils_UniqueRouteStack(t *testing.T) { function Test_Utils_getGroupPath (line 646) | func Test_Utils_getGroupPath(t *testing.T) { function Benchmark_Utils_getGroupPath (line 668) | func Benchmark_Utils_getGroupPath(b *testing.B) { function Benchmark_Utils_Unescape (line 680) | func Benchmark_Utils_Unescape(b *testing.B) { function Test_Utils_Parse_Address (line 694) | func Test_Utils_Parse_Address(t *testing.T) { function Test_Utils_TestConn_Deadline (line 722) | func Test_Utils_TestConn_Deadline(t *testing.T) { function Test_Utils_TestConn_ReadWrite (line 730) | func Test_Utils_TestConn_ReadWrite(t *testing.T) { function Test_Utils_TestConn_Closed_Write (line 753) | func Test_Utils_TestConn_Closed_Write(t *testing.T) { function Test_Utils_IsNoCache (line 772) | func Test_Utils_IsNoCache(t *testing.T) { function Benchmark_Utils_IsNoCache (line 804) | func Benchmark_Utils_IsNoCache(b *testing.B) { function Test_HeaderContainsValue (line 819) | func Test_HeaderContainsValue(t *testing.T) { function Benchmark_HeaderContainsValue (line 861) | func Benchmark_HeaderContainsValue(b *testing.B) { type testGenericParseTypeIntCase (line 873) | type testGenericParseTypeIntCase struct function Test_GenericParseTypeInts (line 879) | func Test_GenericParseTypeInts(t *testing.T) { function testGenericTypeInt (line 947) | func testGenericTypeInt[V GenericTypeInteger](t *testing.T, name string,... type testGenericParseTypeUintCase (line 964) | type testGenericParseTypeUintCase struct function Test_GenericParseTypeUints (line 970) | func Test_GenericParseTypeUints(t *testing.T) { function testGenericTypeUint (line 1018) | func testGenericTypeUint[V GenericTypeInteger](t *testing.T, name string... function Test_GenericParseTypeFloats (line 1036) | func Test_GenericParseTypeFloats(t *testing.T) { function Test_GenericParseTypeBytes (line 1083) | func Test_GenericParseTypeBytes(t *testing.T) { function Test_GenericParseTypeString (line 1125) | func Test_GenericParseTypeString(t *testing.T) { function Test_GenericParseTypeBoolean (line 1141) | func Test_GenericParseTypeBoolean(t *testing.T) { function testGenericParseError (line 1181) | func testGenericParseError[V GenericType](t *testing.T) { function Benchmark_GenericParseTypeInts (line 1190) | func Benchmark_GenericParseTypeInts(b *testing.B) { function benchGenericParseTypeInt (line 1259) | func benchGenericParseTypeInt[V GenericTypeInteger](b *testing.B, name s... function Benchmark_GenericParseTypeUints (line 1281) | func Benchmark_GenericParseTypeUints(b *testing.B) { function benchGenericParseTypeUInt (line 1338) | func benchGenericParseTypeUInt[V GenericTypeInteger](b *testing.B, name ... function Benchmark_GenericParseTypeFloats (line 1360) | func Benchmark_GenericParseTypeFloats(b *testing.B) { function Benchmark_GenericParseTypeBytes (line 1418) | func Benchmark_GenericParseTypeBytes(b *testing.B) { function Benchmark_GenericParseTypeString (line 1466) | func Benchmark_GenericParseTypeString(b *testing.B) { function Benchmark_GenericParseTypeBoolean (line 1488) | func Benchmark_GenericParseTypeBoolean(b *testing.B) { function Test_UnescapeHeaderValue (line 1533) | func Test_UnescapeHeaderValue(t *testing.T) { function Test_JoinHeaderValues (line 1556) | func Test_JoinHeaderValues(t *testing.T) { function Test_ParamsMatch_InvalidEscape (line 1563) | func Test_ParamsMatch_InvalidEscape(t *testing.T) { function Test_MatchEtag (line 1569) | func Test_MatchEtag(t *testing.T) { function Test_MatchEtagStrong (line 1580) | func Test_MatchEtagStrong(t *testing.T) { function Test_IsEtagStale (line 1591) | func Test_IsEtagStale(t *testing.T) { function Test_App_quoteRawString (line 1627) | func Test_App_quoteRawString(t *testing.T) { function TestStoreInContext (line 1654) | func TestStoreInContext(t *testing.T) { function TestValueFromContext (line 1673) | func TestValueFromContext(t *testing.T) { FILE: hooks.go type Hooks (line 35) | type Hooks struct method OnRoute (line 241) | func (h *Hooks) OnRoute(handler ...OnRouteHandler) { method OnName (line 251) | func (h *Hooks) OnName(handler ...OnNameHandler) { method OnGroup (line 259) | func (h *Hooks) OnGroup(handler ...OnGroupHandler) { method OnGroupName (line 269) | func (h *Hooks) OnGroupName(handler ...OnGroupNameHandler) { method OnListen (line 276) | func (h *Hooks) OnListen(handler ...OnListenHandler) { method OnPreStartupMessage (line 283) | func (h *Hooks) OnPreStartupMessage(handler ...OnPreStartupMessageHand... method OnPostStartupMessage (line 290) | func (h *Hooks) OnPostStartupMessage(handler ...OnPostStartupMessageHa... method OnPreShutdown (line 297) | func (h *Hooks) OnPreShutdown(handler ...OnPreShutdownHandler) { method OnPostShutdown (line 304) | func (h *Hooks) OnPostShutdown(handler ...OnPostShutdownHandler) { method OnFork (line 311) | func (h *Hooks) OnFork(handler ...OnForkHandler) { method OnMount (line 320) | func (h *Hooks) OnMount(handler ...OnMountHandler) { method executeOnRouteHooks (line 326) | func (h *Hooks) executeOnRouteHooks(route *Route) error { method executeOnNameHooks (line 348) | func (h *Hooks) executeOnNameHooks(route *Route) error { method executeOnGroupHooks (line 370) | func (h *Hooks) executeOnGroupHooks(group Group) error { method executeOnGroupNameHooks (line 385) | func (h *Hooks) executeOnGroupNameHooks(group Group) error { method executeOnListenHooks (line 400) | func (h *Hooks) executeOnListenHooks(listenData *ListenData) error { method executeOnPreStartupMessageHooks (line 410) | func (h *Hooks) executeOnPreStartupMessageHooks(data *PreStartupMessag... method executeOnPostStartupMessageHooks (line 420) | func (h *Hooks) executeOnPostStartupMessageHooks(data *PostStartupMess... method executeOnPreShutdownHooks (line 430) | func (h *Hooks) executeOnPreShutdownHooks() { method executeOnPostShutdownHooks (line 438) | func (h *Hooks) executeOnPostShutdownHooks(err error) { method executeOnForkHooks (line 446) | func (h *Hooks) executeOnForkHooks(pid int) { method executeOnMountHooks (line 454) | func (h *Hooks) executeOnMountHooks(app *App) error { type StartupMessageLevel (line 53) | type StartupMessageLevel constant StartupMessageLevelInfo (line 57) | StartupMessageLevelInfo StartupMessageLevel = iota constant StartupMessageLevelWarning (line 59) | StartupMessageLevelWarning constant StartupMessageLevelError (line 61) | StartupMessageLevelError constant errString (line 64) | errString = "ERROR" type startupMessageEntry (line 67) | type startupMessageEntry struct type ListenData (line 76) | type ListenData struct type PreStartupMessageData (line 94) | type PreStartupMessageData struct method AddInfo (line 107) | func (sm *PreStartupMessageData) AddInfo(key, title, value string, pri... method AddWarning (line 117) | func (sm *PreStartupMessageData) AddWarning(key, title, value string, ... method AddError (line 127) | func (sm *PreStartupMessageData) AddError(key, title, value string, pr... method EntryKeys (line 137) | func (sm *PreStartupMessageData) EntryKeys() []string { method ResetEntries (line 146) | func (sm *PreStartupMessageData) ResetEntries() { method DeleteEntry (line 151) | func (sm *PreStartupMessageData) DeleteEntry(key string) { method addEntry (line 164) | func (sm *PreStartupMessageData) addEntry(key, title, value string, pr... function newPreStartupMessageData (line 190) | func newPreStartupMessageData(listenData *ListenData) *PreStartupMessage... type PostStartupMessageData (line 195) | type PostStartupMessageData struct function newPostStartupMessageData (line 208) | func newPostStartupMessageData(listenData *ListenData, disabled, isChild... function newHooks (line 222) | func newHooks(app *App) *Hooks { FILE: hooks_test.go constant testMountPath (line 18) | testMountPath = "/api" function testSimpleHandler (line 20) | func testSimpleHandler(c Ctx) error { function Test_Hook_OnRoute (line 24) | func Test_Hook_OnRoute(t *testing.T) { function Test_Hook_OnRoute_Mount (line 42) | func Test_Hook_OnRoute_Mount(t *testing.T) { function Test_Hook_OnName (line 64) | func Test_Hook_OnName(t *testing.T) { function Test_Hook_OnName_Error (line 89) | func Test_Hook_OnName_Error(t *testing.T) { function Test_Hook_OnGroup (line 102) | func Test_Hook_OnGroup(t *testing.T) { function Test_Hook_OnGroup_Mount (line 121) | func Test_Hook_OnGroup_Mount(t *testing.T) { function Test_Hook_OnGroupName (line 138) | func Test_Hook_OnGroupName(t *testing.T) { function Test_Hook_OnGroupName_Error (line 170) | func Test_Hook_OnGroupName_Error(t *testing.T) { function Test_Hook_OnPreShutdown (line 183) | func Test_Hook_OnPreShutdown(t *testing.T) { function Test_Hook_OnPostShutdown (line 201) | func Test_Hook_OnPostShutdown(t *testing.T) { function Test_Hook_OnListen (line 268) | func Test_Hook_OnListen(t *testing.T) { function Test_ListenDataMetadata (line 292) | func Test_ListenDataMetadata(t *testing.T) { function Test_ListenData_Hook_HelperFunctions (line 354) | func Test_ListenData_Hook_HelperFunctions(t *testing.T) { function Test_Hook_OnListenPrefork (line 521) | func Test_Hook_OnListenPrefork(t *testing.T) { function Test_Hook_OnHook (line 544) | func Test_Hook_OnHook(t *testing.T) { function Test_Hook_OnMount (line 564) | func Test_Hook_OnMount(t *testing.T) { function Test_executeOnRouteHooks_ErrorWithMount (line 581) | func Test_executeOnRouteHooks_ErrorWithMount(t *testing.T) { function Test_executeOnNameHooks_ErrorWithMount (line 597) | func Test_executeOnNameHooks_ErrorWithMount(t *testing.T) { function Test_executeOnGroupHooks_ErrorWithMount (line 613) | func Test_executeOnGroupHooks_ErrorWithMount(t *testing.T) { function Test_executeOnGroupNameHooks_ErrorWithMount (line 629) | func Test_executeOnGroupNameHooks_ErrorWithMount(t *testing.T) { function Test_executeOnListenHooks_Error (line 645) | func Test_executeOnListenHooks_Error(t *testing.T) { function Test_executeOnPreStartupMessageHooks_Error (line 657) | func Test_executeOnPreStartupMessageHooks_Error(t *testing.T) { function Test_executeOnPostStartupMessageHooks_Error (line 669) | func Test_executeOnPostStartupMessageHooks_Error(t *testing.T) { function Test_executeOnPreShutdownHooks_Error (line 681) | func Test_executeOnPreShutdownHooks_Error(t *testing.T) { function Test_executeOnForkHooks_Error (line 695) | func Test_executeOnForkHooks_Error(t *testing.T) { function Test_executeOnMountHooks_Error (line 710) | func Test_executeOnMountHooks_Error(t *testing.T) { FILE: internal/memory/memory.go type Storage (line 27) | type Storage struct method Get (line 53) | func (s *Storage) Get(key string) any { method Set (line 75) | func (s *Storage) Set(key string, val any, ttl time.Duration) { method Delete (line 96) | func (s *Storage) Delete(key string) { method Reset (line 103) | func (s *Storage) Reset() { method gc (line 110) | func (s *Storage) gc(sleep time.Duration) { type item (line 32) | type item struct function New (line 39) | func New() *Storage { FILE: internal/memory/memory_test.go function Test_Memory (line 12) | func Test_Memory(t *testing.T) { function Benchmark_Memory (line 59) | func Benchmark_Memory(b *testing.B) { FILE: internal/storage/memory/config.go type Config (line 8) | type Config struct function configDefault (line 21) | func configDefault(config ...Config) Config { FILE: internal/storage/memory/memory.go type Storage (line 16) | type Storage struct method Get (line 51) | func (s *Storage) Get(key string) ([]byte, error) { method GetWithContext (line 69) | func (s *Storage) GetWithContext(ctx context.Context, key string) ([]b... method Set (line 78) | func (s *Storage) Set(key string, val []byte, exp time.Duration) error { method SetWithContext (line 102) | func (s *Storage) SetWithContext(ctx context.Context, key string, val ... method Delete (line 110) | func (s *Storage) Delete(key string) error { method DeleteWithContext (line 123) | func (s *Storage) DeleteWithContext(ctx context.Context, key string) e... method Reset (line 131) | func (s *Storage) Reset() error { method ResetWithContext (line 141) | func (s *Storage) ResetWithContext(ctx context.Context) error { method Close (line 150) | func (s *Storage) Close() error { method gc (line 155) | func (s *Storage) gc() { method Conn (line 196) | func (s *Storage) Conn() map[string]Entry { method Keys (line 203) | func (s *Storage) Keys() ([][]byte, error) { type Entry (line 24) | type Entry struct function New (line 31) | func New(config ...Config) *Storage { function wrapContextError (line 228) | func wrapContextError(ctx context.Context, op string) error { FILE: internal/storage/memory/memory_test.go function Test_Storage_Memory_Set (line 11) | func Test_Storage_Memory_Set(t *testing.T) { function Test_Storage_Memory_SetWithContext (line 27) | func Test_Storage_Memory_SetWithContext(t *testing.T) { function Test_Storage_Memory_Set_Override (line 46) | func Test_Storage_Memory_Set_Override(t *testing.T) { function Test_Storage_Memory_Get (line 65) | func Test_Storage_Memory_Get(t *testing.T) { function Test_Storage_Memory_GetWithContext (line 85) | func Test_Storage_Memory_GetWithContext(t *testing.T) { function Test_Storage_Memory_Set_Expiration (line 108) | func Test_Storage_Memory_Set_Expiration(t *testing.T) { function Test_Storage_Memory_Set_Long_Expiration_with_Keys (line 134) | func Test_Storage_Memory_Set_Long_Expiration_with_Keys(t *testing.T) { function Test_Storage_Memory_Get_NotExist (line 166) | func Test_Storage_Memory_Get_NotExist(t *testing.T) { function Test_Storage_Memory_Delete (line 178) | func Test_Storage_Memory_Delete(t *testing.T) { function Test_Storage_Memory_DeleteWithContext (line 205) | func Test_Storage_Memory_DeleteWithContext(t *testing.T) { function Test_Storage_Memory_Reset (line 231) | func Test_Storage_Memory_Reset(t *testing.T) { function Test_Storage_Memory_ResetWithContext (line 262) | func Test_Storage_Memory_ResetWithContext(t *testing.T) { function Test_Storage_Memory_Close (line 296) | func Test_Storage_Memory_Close(t *testing.T) { function Test_Storage_Memory_Conn (line 302) | func Test_Storage_Memory_Conn(t *testing.T) { function Benchmark_Memory_Set (line 309) | func Benchmark_Memory_Set(b *testing.B) { function Benchmark_Memory_Set_Parallel (line 318) | func Benchmark_Memory_Set_Parallel(b *testing.B) { function Benchmark_Memory_Set_Asserted (line 330) | func Benchmark_Memory_Set_Asserted(b *testing.B) { function Benchmark_Memory_Set_Asserted_Parallel (line 340) | func Benchmark_Memory_Set_Asserted_Parallel(b *testing.B) { function Benchmark_Memory_Get (line 354) | func Benchmark_Memory_Get(b *testing.B) { function Benchmark_Memory_Get_Parallel (line 366) | func Benchmark_Memory_Get_Parallel(b *testing.B) { function Benchmark_Memory_Get_Asserted (line 381) | func Benchmark_Memory_Get_Asserted(b *testing.B) { function Benchmark_Memory_Get_Asserted_Parallel (line 394) | func Benchmark_Memory_Get_Asserted_Parallel(b *testing.B) { function Benchmark_Memory_SetAndDelete (line 411) | func Benchmark_Memory_SetAndDelete(b *testing.B) { function Benchmark_Memory_SetAndDelete_Parallel (line 421) | func Benchmark_Memory_SetAndDelete_Parallel(b *testing.B) { function Benchmark_Memory_SetAndDelete_Asserted (line 434) | func Benchmark_Memory_SetAndDelete_Asserted(b *testing.B) { function Benchmark_Memory_SetAndDelete_Asserted_Parallel (line 447) | func Benchmark_Memory_SetAndDelete_Asserted_Parallel(b *testing.B) { FILE: internal/tlstest/tls.go function GetTLSConfigs (line 22) | func GetTLSConfigs() (serverTLSConf, clientTLSConf *tls.Config, err erro... FILE: listen.go constant globalIpv4Addr (line 40) | globalIpv4Addr = "0.0.0.0" type ListenConfig (line 44) | type ListenConfig struct function listenConfigDefault (line 136) | func listenConfigDefault(config ...ListenConfig) ListenConfig { method Listen (line 172) | func (app *App) Listen(addr string, config ...ListenConfig) error { method Listener (line 269) | func (app *App) Listener(ln net.Listener, config ...ListenConfig) error { method createListener (line 307) | func (*App) createListener(addr string, tlsConfig *tls.Config, cfg *List... method printMessages (line 346) | func (app *App) printMessages(cfg *ListenConfig, listenData *ListenData) { method prepareListenData (line 355) | func (app *App) prepareListenData(addr string, isTLS bool, cfg *ListenCo... method startupMessage (line 391) | func (app *App) startupMessage(listenData *ListenData, cfg *ListenConfig) { function printStartupEntries (line 489) | func printStartupEntries(out io.Writer, colors *Colors, entries []startu... method printRoutesMessage (line 516) | func (app *App) printRoutesMessage() { method gracefulShutdown (line 561) | func (app *App) gracefulShutdown(ctx context.Context, cfg *ListenConfig) { FILE: listen_test.go function Test_Listen (line 27) | func Test_Listen(t *testing.T) { function Test_Listen_Graceful_Shutdown (line 41) | func Test_Listen_Graceful_Shutdown(t *testing.T) { function testGracefulShutdown (line 55) | func testGracefulShutdown(t *testing.T, shutdownTimeout time.Duration) { function Test_Listen_Prefork (line 167) | func Test_Listen_Prefork(t *testing.T) { function Test_Listen_TLSMinVersion (line 176) | func Test_Listen_TLSMinVersion(t *testing.T) { function Test_Listen_TLS (line 213) | func Test_Listen_TLS(t *testing.T) { function Test_Listen_TLS_Prefork (line 234) | func Test_Listen_TLS_Prefork(t *testing.T) { function Test_Listen_MutualTLS (line 261) | func Test_Listen_MutualTLS(t *testing.T) { function Test_Listen_MutualTLS_Prefork (line 284) | func Test_Listen_MutualTLS_Prefork(t *testing.T) { function Test_Listener (line 313) | func Test_Listener(t *testing.T) { function Test_App_Listener_TLS_Listener (line 325) | func Test_App_Listener_TLS_Listener(t *testing.T) { function Test_Listen_TLSConfigFunc (line 349) | func Test_Listen_TLSConfigFunc(t *testing.T) { function Test_Listen_TLSConfig (line 371) | func Test_Listen_TLSConfig(t *testing.T) { function Test_Listen_TLSCertFiles (line 426) | func Test_Listen_TLSCertFiles(t *testing.T) { function Test_Listen_TLSConfig_WithTLSConfigFunc (line 445) | func Test_Listen_TLSConfig_WithTLSConfigFunc(t *testing.T) { function Test_Listen_AutoCert_Conflicts (line 474) | func Test_Listen_AutoCert_Conflicts(t *testing.T) { function Test_Listen_ListenerAddrFunc (line 488) | func Test_Listen_ListenerAddrFunc(t *testing.T) { function Test_Listen_BeforeServeFunc (line 510) | func Test_Listen_BeforeServeFunc(t *testing.T) { function Test_Listen_ListenerNetwork (line 533) | func Test_Listen_ListenerNetwork(t *testing.T) { function Test_Listen_ListenerNetwork_Unix (line 569) | func Test_Listen_ListenerNetwork_Unix(t *testing.T) { function Test_Listen_Master_Process_Show_Startup_Message (line 632) | func Test_Listen_Master_Process_Show_Startup_Message(t *testing.T) { function Test_Listen_Master_Process_Show_Startup_MessageWithAppName (line 665) | func Test_Listen_Master_Process_Show_Startup_MessageWithAppName(t *testi... function Test_Listen_Master_Process_Show_Startup_MessageWithAppNameNonAscii (line 694) | func Test_Listen_Master_Process_Show_Startup_MessageWithAppNameNonAscii(... function Test_Listen_Master_Process_Show_Startup_MessageWithDisabledPreforkAndCustomEndpoint (line 718) | func Test_Listen_Master_Process_Show_Startup_MessageWithDisabledPreforkA... function Test_StartupMessageCustomization (line 745) | func Test_StartupMessageCustomization(t *testing.T) { function Test_StartupMessageDisabledPostHook (line 782) | func Test_StartupMessageDisabledPostHook(t *testing.T) { function Test_StartupMessagePreventedByHook (line 804) | func Test_StartupMessagePreventedByHook(t *testing.T) { function Test_Listen_Print_Route (line 833) | func Test_Listen_Print_Route(t *testing.T) { function Test_Listen_Print_Route_With_Group (line 846) | func Test_Listen_Print_Route_With_Group(t *testing.T) { function captureOutput (line 869) | func captureOutput(f func()) string { function emptyHandler (line 901) | func emptyHandler(_ Ctx) error { FILE: log/default.go type defaultLogger (line 16) | type defaultLogger struct method privateLog (line 24) | func (l *defaultLogger) privateLog(lv Level, fmtArgs []any) { method privateLogf (line 47) | func (l *defaultLogger) privateLogf(lv Level, format string, fmtArgs [... method privateLogw (line 74) | func (l *defaultLogger) privateLogw(lv Level, format string, keysAndVa... method Trace (line 119) | func (l *defaultLogger) Trace(v ...any) { method Debug (line 124) | func (l *defaultLogger) Debug(v ...any) { method Info (line 129) | func (l *defaultLogger) Info(v ...any) { method Warn (line 134) | func (l *defaultLogger) Warn(v ...any) { method Error (line 139) | func (l *defaultLogger) Error(v ...any) { method Fatal (line 144) | func (l *defaultLogger) Fatal(v ...any) { method Panic (line 149) | func (l *defaultLogger) Panic(v ...any) { method Tracef (line 154) | func (l *defaultLogger) Tracef(format string, v ...any) { method Debugf (line 159) | func (l *defaultLogger) Debugf(format string, v ...any) { method Infof (line 164) | func (l *defaultLogger) Infof(format string, v ...any) { method Warnf (line 169) | func (l *defaultLogger) Warnf(format string, v ...any) { method Errorf (line 174) | func (l *defaultLogger) Errorf(format string, v ...any) { method Fatalf (line 179) | func (l *defaultLogger) Fatalf(format string, v ...any) { method Panicf (line 184) | func (l *defaultLogger) Panicf(format string, v ...any) { method Tracew (line 189) | func (l *defaultLogger) Tracew(msg string, keysAndValues ...any) { method Debugw (line 194) | func (l *defaultLogger) Debugw(msg string, keysAndValues ...any) { method Infow (line 199) | func (l *defaultLogger) Infow(msg string, keysAndValues ...any) { method Warnw (line 204) | func (l *defaultLogger) Warnw(msg string, keysAndValues ...any) { method Errorw (line 209) | func (l *defaultLogger) Errorw(msg string, keysAndValues ...any) { method Fatalw (line 214) | func (l *defaultLogger) Fatalw(msg string, keysAndValues ...any) { method Panicw (line 219) | func (l *defaultLogger) Panicw(msg string, keysAndValues ...any) { method WithContext (line 224) | func (l *defaultLogger) WithContext(_ context.Context) CommonLogger { method SetLevel (line 233) | func (l *defaultLogger) SetLevel(level Level) { method SetOutput (line 238) | func (l *defaultLogger) SetOutput(writer io.Writer) { method Logger (line 243) | func (l *defaultLogger) Logger() *log.Logger { function DefaultLogger (line 248) | func DefaultLogger[T any]() AllLogger[T] { FILE: log/default_test.go constant work (line 13) | work = "work" function initDefaultLogger (line 15) | func initDefaultLogger() { type byteSliceWriter (line 22) | type byteSliceWriter struct method Write (line 26) | func (w *byteSliceWriter) Write(p []byte) (int, error) { function Test_WithContextCaller (line 31) | func Test_WithContextCaller(t *testing.T) { function Test_DefaultLogger (line 47) | func Test_DefaultLogger(t *testing.T) { function Test_DefaultFormatLogger (line 71) | func Test_DefaultFormatLogger(t *testing.T) { function Test_CtxLogger (line 95) | func Test_CtxLogger(t *testing.T) { function Test_LogfKeyAndValues (line 121) | func Test_LogfKeyAndValues(t *testing.T) { function Test_SetLevel (line 185) | func Test_SetLevel(t *testing.T) { function Test_Logger (line 224) | func Test_Logger(t *testing.T) { function Test_Debugw (line 238) | func Test_Debugw(t *testing.T) { function Test_Infow (line 252) | func Test_Infow(t *testing.T) { function Test_Warnw (line 266) | func Test_Warnw(t *testing.T) { function Test_Errorw (line 280) | func Test_Errorw(t *testing.T) { function Test_Panicw (line 294) | func Test_Panicw(t *testing.T) { function Test_Tracew (line 310) | func Test_Tracew(t *testing.T) { type stringKey (line 324) | type stringKey struct method String (line 328) | func (k stringKey) String() string { function Test_DefaultLoggerNonStringKeys (line 332) | func Test_DefaultLoggerNonStringKeys(t *testing.T) { function Benchmark_LogfKeyAndValues (line 370) | func Benchmark_LogfKeyAndValues(b *testing.B) { function Benchmark_LogfKeyAndValues_Parallel (line 427) | func Benchmark_LogfKeyAndValues_Parallel(b *testing.B) { FILE: log/fiberlog.go function Fatal (line 9) | func Fatal(v ...any) { function Error (line 14) | func Error(v ...any) { function Warn (line 19) | func Warn(v ...any) { function Info (line 24) | func Info(v ...any) { function Debug (line 29) | func Debug(v ...any) { function Trace (line 34) | func Trace(v ...any) { function Panic (line 39) | func Panic(v ...any) { function Fatalf (line 44) | func Fatalf(format string, v ...any) { function Errorf (line 49) | func Errorf(format string, v ...any) { function Warnf (line 54) | func Warnf(format string, v ...any) { function Infof (line 59) | func Infof(format string, v ...any) { function Debugf (line 64) | func Debugf(format string, v ...any) { function Tracef (line 69) | func Tracef(format string, v ...any) { function Panicf (line 74) | func Panicf(format string, v ...any) { function Tracew (line 80) | func Tracew(msg string, keysAndValues ...any) { function Debugw (line 86) | func Debugw(msg string, keysAndValues ...any) { function Infow (line 92) | func Infow(msg string, keysAndValues ...any) { function Warnw (line 98) | func Warnw(msg string, keysAndValues ...any) { function Errorw (line 104) | func Errorw(msg string, keysAndValues ...any) { function Fatalw (line 110) | func Fatalw(msg string, keysAndValues ...any) { function Panicw (line 116) | func Panicw(msg string, keysAndValues ...any) { function WithContext (line 122) | func WithContext(ctx context.Context) CommonLogger { function SetLogger (line 129) | func SetLogger[T any](v AllLogger[T]) { function SetOutput (line 134) | func SetOutput(w io.Writer) { function SetLevel (line 141) | func SetLevel(lv Level) { FILE: log/fiberlog_test.go function Test_DefaultSystemLogger (line 11) | func Test_DefaultSystemLogger(t *testing.T) { function Test_SetLogger (line 17) | func Test_SetLogger(t *testing.T) { function Test_Fiberlog_SetLevel (line 27) | func Test_Fiberlog_SetLevel(t *testing.T) { function Benchmark_DefaultSystemLogger (line 73) | func Benchmark_DefaultSystemLogger(b *testing.B) { function Benchmark_SetLogger (line 80) | func Benchmark_SetLogger(b *testing.B) { function Benchmark_Fiberlog_SetLevel (line 92) | func Benchmark_Fiberlog_SetLevel(b *testing.B) { function Benchmark_DefaultSystemLogger_Parallel (line 139) | func Benchmark_DefaultSystemLogger_Parallel(b *testing.B) { function Benchmark_SetLogger_Parallel (line 149) | func Benchmark_SetLogger_Parallel(b *testing.B) { function Benchmark_Fiberlog_SetLevel_Parallel (line 164) | func Benchmark_Fiberlog_SetLevel_Parallel(b *testing.B) { FILE: log/log.go type baseLogger (line 13) | type baseLogger interface type Logger (line 26) | type Logger interface type FormatLogger (line 37) | type FormatLogger interface type WithLogger (line 48) | type WithLogger interface type CommonLogger (line 60) | type CommonLogger interface type ConfigurableLogger (line 67) | type ConfigurableLogger interface type AllLogger (line 82) | type AllLogger interface type Level (line 93) | type Level method toString (line 116) | func (lv Level) toString() string { constant LevelTrace (line 97) | LevelTrace Level = iota constant LevelDebug (line 98) | LevelDebug constant LevelInfo (line 99) | LevelInfo constant LevelWarn (line 100) | LevelWarn constant LevelError (line 101) | LevelError constant LevelFatal (line 102) | LevelFatal constant LevelPanic (line 103) | LevelPanic FILE: middleware/adaptor/adaptor.go type disableLogger (line 21) | type disableLogger struct method Printf (line 24) | func (*disableLogger) Printf(string, ...any) { constant bufferSize (line 37) | bufferSize = 32 * 1024 function HTTPHandlerFunc (line 51) | func HTTPHandlerFunc(h http.HandlerFunc) fiber.Handler { function HTTPHandler (line 56) | func HTTPHandler(h http.Handler) fiber.Handler { function HTTPHandlerWithContext (line 65) | func HTTPHandlerWithContext(h http.Handler) fiber.Handler { function LocalContextFromHTTPRequest (line 78) | func LocalContextFromHTTPRequest(r *http.Request) (context.Context, bool) { function ConvertRequest (line 89) | func ConvertRequest(c fiber.Ctx, forServer bool) (*http.Request, error) { function CopyContextToFiberContext (line 101) | func CopyContextToFiberContext(src any, requestContext *fasthttp.Request... function HTTPMiddleware (line 162) | func HTTPMiddleware(mw func(http.Handler) http.Handler) fiber.Handler { function FiberHandler (line 194) | func FiberHandler(h fiber.Handler) http.Handler { function FiberHandlerFunc (line 199) | func FiberHandlerFunc(h fiber.Handler) http.HandlerFunc { function FiberApp (line 204) | func FiberApp(app *fiber.App) http.HandlerFunc { function isUnixNetwork (line 208) | func isUnixNetwork(network string) bool { function resolveRemoteAddr (line 212) | func resolveRemoteAddr(remoteAddr string, localAddr any) (net.Addr, erro... function handlerFunc (line 242) | func handlerFunc(app *fiber.App, h ...fiber.Handler) http.HandlerFunc { FILE: middleware/adaptor/adaptor_test.go constant expectedRequestURI (line 28) | expectedRequestURI = "/foo/bar?baz=123" constant expectedBody (line 29) | expectedBody = "body 123 foo bar baz" constant expectedHost (line 30) | expectedHost = "foobar.com" constant expectedRemoteAddr (line 31) | expectedRemoteAddr = "1.2.3.4:6789" function Test_HTTPHandler (line 34) | func Test_HTTPHandler(t *testing.T) { function Test_HTTPHandler_Flush (line 118) | func Test_HTTPHandler_Flush(t *testing.T) { function Test_HTTPHandler_Flush_App_Test (line 208) | func Test_HTTPHandler_Flush_App_Test(t *testing.T) { function Test_HTTPHandler_App_Test_Interrupted (line 236) | func Test_HTTPHandler_App_Test_Interrupted(t *testing.T) { function Test_LocalContextFromHTTPRequest (line 262) | func Test_LocalContextFromHTTPRequest(t *testing.T) { function Test_HTTPHandlerWithContext_local_context (line 297) | func Test_HTTPHandlerWithContext_local_context(t *testing.T) { type contextKey (line 349) | type contextKey method String (line 351) | func (c contextKey) String() string { function Test_HTTPMiddleware (line 360) | func Test_HTTPMiddleware(t *testing.T) { function Test_HTTPMiddlewareWithCookies (line 446) | func Test_HTTPMiddlewareWithCookies(t *testing.T) { function Test_FiberHandler (line 526) | func Test_FiberHandler(t *testing.T) { function Test_FiberHandler_BodyLimit (line 532) | func Test_FiberHandler_BodyLimit(t *testing.T) { function Test_FiberApp (line 591) | func Test_FiberApp(t *testing.T) { function Test_FiberHandlerDefaultPort (line 597) | func Test_FiberHandlerDefaultPort(t *testing.T) { function Test_FiberAppDefaultPort (line 603) | func Test_FiberAppDefaultPort(t *testing.T) { function testFiberToHandlerFunc (line 609) | func testFiberToHandlerFunc(t *testing.T, checkDefaultPort bool, app ...... function setFiberContextValueMiddleware (line 690) | func setFiberContextValueMiddleware(next fiber.Handler, key, value any) ... function Test_FiberHandler_RequestNilBody (line 697) | func Test_FiberHandler_RequestNilBody(t *testing.T) { type netHTTPBody (line 728) | type netHTTPBody struct method Read (line 732) | func (r *netHTTPBody) Read(p []byte) (int, error) { method Close (line 741) | func (r *netHTTPBody) Close() error { function createTestRequest (line 746) | func createTestRequest(method, uri, remoteAddr string, body io.Reader) *... function executeHandlerTest (line 764) | func executeHandlerTest(_ *testing.T, handler http.HandlerFunc, req *htt... type netHTTPResponseWriter (line 770) | type netHTTPResponseWriter struct method StatusCode (line 776) | func (w *netHTTPResponseWriter) StatusCode() int { method Header (line 783) | func (w *netHTTPResponseWriter) Header() http.Header { method WriteHeader (line 790) | func (w *netHTTPResponseWriter) WriteHeader(statusCode int) { method Write (line 794) | func (w *netHTTPResponseWriter) Write(p []byte) (int, error) { method Flush (line 799) | func (w *netHTTPResponseWriter) Flush() {} function Test_ConvertRequest (line 801) | func Test_ConvertRequest(t *testing.T) { function Test_CopyContextToFiberContext (line 850) | func Test_CopyContextToFiberContext(t *testing.T) { function Test_HTTPMiddleware_ErrorHandling (line 955) | func Test_HTTPMiddleware_ErrorHandling(t *testing.T) { function Test_FiberHandler_IOError (line 981) | func Test_FiberHandler_IOError(t *testing.T) { function Test_FiberHandler_WithErrorInHandler (line 1008) | func Test_FiberHandler_WithErrorInHandler(t *testing.T) { function Test_FiberHandler_WithSendStreamWriter (line 1031) | func Test_FiberHandler_WithSendStreamWriter(t *testing.T) { function Test_FiberHandler_WithInterruptedSendStreamWriter (line 1061) | func Test_FiberHandler_WithInterruptedSendStreamWriter(t *testing.T) { type failingReader (line 1107) | type failingReader struct method Read (line 1109) | func (f *failingReader) Read(p []byte) (int, error) { method Close (line 1113) | func (f *failingReader) Close() error { function Benchmark_FiberHandlerFunc (line 1118) | func Benchmark_FiberHandlerFunc(b *testing.B) { function Benchmark_FiberHandlerFunc_Parallel (line 1192) | func Benchmark_FiberHandlerFunc_Parallel(b *testing.B) { function Benchmark_HTTPHandler (line 1269) | func Benchmark_HTTPHandler(b *testing.B) { function Benchmark_HTTPHandlerWithContext (line 1300) | func Benchmark_HTTPHandlerWithContext(b *testing.B) { function Test_resolveRemoteAddr (line 1335) | func Test_resolveRemoteAddr(t *testing.T) { function Test_isUnixNetwork (line 1417) | func Test_isUnixNetwork(t *testing.T) { function Test_FiberHandler_ErrorFallback (line 1444) | func Test_FiberHandler_ErrorFallback(t *testing.T) { function Test_FiberHandler_WithUnixSocket (line 1462) | func Test_FiberHandler_WithUnixSocket(t *testing.T) { function Test_FiberHandler_BodySizeLimit (line 1491) | func Test_FiberHandler_BodySizeLimit(t *testing.T) { function Test_CopyContextToFiberContext_Safe (line 1511) | func Test_CopyContextToFiberContext_Safe(t *testing.T) { function TestUnixSocketAdaptor (line 1531) | func TestUnixSocketAdaptor(t *testing.T) { FILE: middleware/basicauth/basicauth.go type contextKey (line 17) | type contextKey constant usernameKey (line 21) | usernameKey contextKey = iota constant basicScheme (line 24) | basicScheme = "Basic" function New (line 27) | func New(config ...Config) fiber.Handler { function containsCTL (line 113) | func containsCTL(s string) bool { function containsInvalidHeaderChars (line 117) | func containsInvalidHeaderChars(s string) bool { function UsernameFromContext (line 126) | func UsernameFromContext(ctx any) string { FILE: middleware/basicauth/basicauth_test.go function sha256Hash (line 21) | func sha256Hash(p string) string { function sha512Hash (line 26) | func sha512Hash(p string) string { function Test_BasicAuth_Next (line 32) | func Test_BasicAuth_Next(t *testing.T) { function Test_Middleware_BasicAuth (line 46) | func Test_Middleware_BasicAuth(t *testing.T) { function Test_BasicAuth_UsernameFromContext_Types (line 112) | func Test_BasicAuth_UsernameFromContext_Types(t *testing.T) { function Test_BasicAuth_AuthorizerCtx (line 140) | func Test_BasicAuth_AuthorizerCtx(t *testing.T) { function Test_BasicAuth_WWWAuthenticateHeader (line 166) | func Test_BasicAuth_WWWAuthenticateHeader(t *testing.T) { function Test_BasicAuth_WWWAuthenticateHeader_UTF8 (line 179) | func Test_BasicAuth_WWWAuthenticateHeader_UTF8(t *testing.T) { function Test_BasicAuth_InvalidHeader (line 192) | func Test_BasicAuth_InvalidHeader(t *testing.T) { function Test_BasicAuth_MissingScheme (line 207) | func Test_BasicAuth_MissingScheme(t *testing.T) { function Test_BasicAuth_MissingColon (line 223) | func Test_BasicAuth_MissingColon(t *testing.T) { function Test_BasicAuth_EmptyAuthorization (line 239) | func Test_BasicAuth_EmptyAuthorization(t *testing.T) { function Test_BasicAuth_HeaderWhitespace (line 256) | func Test_BasicAuth_HeaderWhitespace(t *testing.T) { function Test_BasicAuth_ControlChars (line 291) | func Test_BasicAuth_ControlChars(t *testing.T) { function Test_BasicAuth_UnpaddedBase64 (line 321) | func Test_BasicAuth_UnpaddedBase64(t *testing.T) { function Test_BasicAuth_NonASCIIHeader (line 338) | func Test_BasicAuth_NonASCIIHeader(t *testing.T) { function Test_BasicAuth_InvalidUTF8 (line 354) | func Test_BasicAuth_InvalidUTF8(t *testing.T) { function Test_BasicAuth_UTF8Normalization (line 375) | func Test_BasicAuth_UTF8Normalization(t *testing.T) { function Test_BasicAuth_HeaderControlCharEdges (line 400) | func Test_BasicAuth_HeaderControlCharEdges(t *testing.T) { function Test_BasicAuth_Charset (line 426) | func Test_BasicAuth_Charset(t *testing.T) { function Test_BasicAuth_HeaderLimit (line 434) | func Test_BasicAuth_HeaderLimit(t *testing.T) { function Benchmark_Middleware_BasicAuth (line 464) | func Benchmark_Middleware_BasicAuth(b *testing.B) { function Benchmark_Middleware_BasicAuth_Upper (line 495) | func Benchmark_Middleware_BasicAuth_Upper(b *testing.B) { function Test_BasicAuth_Immutable (line 525) | func Test_BasicAuth_Immutable(t *testing.T) { function Test_parseHashedPassword (line 544) | func Test_parseHashedPassword(t *testing.T) { function Test_BasicAuth_HashVariants (line 575) | func Test_BasicAuth_HashVariants(t *testing.T) { function Test_BasicAuth_HashVariants_Invalid (line 604) | func Test_BasicAuth_HashVariants_Invalid(t *testing.T) { FILE: middleware/basicauth/config.go type Config (line 22) | type Config struct function configDefault (line 91) | func configDefault(config ...Config) Config { function parseHashedPassword (line 162) | func parseHashedPassword(h string) (func(string) bool, error) { FILE: middleware/cache/cache.go constant timestampUpdatePeriod (line 29) | timestampUpdatePeriod = 300 * time.Millisecond constant hexLen (line 32) | hexLen = sha256.Size * 2 constant cacheUnreachable (line 39) | cacheUnreachable = "unreachable" constant cacheHit (line 40) | cacheHit = "hit" constant cacheMiss (line 41) | cacheMiss = "miss" type expirationSource (line 44) | type expirationSource constant expirationSourceConfig (line 47) | expirationSourceConfig expirationSource = iota constant expirationSourceMaxAge (line 48) | expirationSourceMaxAge constant expirationSourceSMaxAge (line 49) | expirationSourceSMaxAge constant expirationSourceExpires (line 50) | expirationSourceExpires constant expirationSourceGenerator (line 51) | expirationSourceGenerator constant noCache (line 56) | noCache = "no-cache" constant noStore (line 57) | noStore = "no-store" constant privateDirective (line 58) | privateDirective = "private" type requestCacheDirectives (line 61) | type requestCacheDirectives struct function New (line 109) | func New(config ...Config) fiber.Handler { function hasDirective (line 909) | func hasDirective(cc, directive string) bool { function cacheBodyFetchError (line 930) | func cacheBodyFetchError(mask func(string) string, key string, err error... function parseUintDirective (line 937) | func parseUintDirective(val []byte) (uint64, bool) { function parseCacheControlDirectives (line 948) | func parseCacheControlDirectives(cc []byte, fn func(key, value []byte)) { function unquoteCacheDirective (line 1012) | func unquoteCacheDirective(quoted []byte) []byte { type responseCacheControl (line 1049) | type responseCacheControl struct function parseResponseCacheControl (line 1062) | func parseResponseCacheControl(cc []byte) responseCacheControl { function parseMaxAge (line 1096) | func parseMaxAge(cc string) (time.Duration, bool) { function parseRequestCacheControl (line 1104) | func parseRequestCacheControl(cc []byte) requestCacheDirectives { function parseRequestCacheControlString (line 1139) | func parseRequestCacheControlString(cc string) requestCacheDirectives { function cachedResponseAge (line 1143) | func cachedResponseAge(e *item, now uint64) uint64 { function appendWarningHeaders (line 1164) | func appendWarningHeaders(h *fasthttp.ResponseHeader, servedStale, heuri... function remainingFreshness (line 1173) | func remainingFreshness(e *item, now uint64) uint64 { function isHeuristicFreshness (line 1181) | func isHeuristicFreshness(e *item, cfg *Config, entryAge uint64) bool { function lookupCachedHeader (line 1199) | func lookupCachedHeader(headers []cachedHeader, name string) ([]byte, bo... function parseHTTPDate (line 1208) | func parseHTTPDate(dateBytes []byte) (uint64, bool) { function clampDateSeconds (line 1220) | func clampDateSeconds(dateSeconds, fallback uint64) uint64 { function safeUnixSeconds (line 1229) | func safeUnixSeconds(t time.Time) uint64 { function secondsToTime (line 1238) | func secondsToTime(sec uint64) time.Time { function secondsToDuration (line 1249) | func secondsToDuration(sec uint64) time.Duration { function parseVary (line 1257) | func parseVary(vary string) ([]string, bool) { function makeBuildVaryKeyFunc (line 1278) | func makeBuildVaryKeyFunc(hexBufPool *sync.Pool) func([]string, *fasthtt... function storeVaryManifest (line 1315) | func storeVaryManifest(ctx context.Context, manager *manager, manifestKe... function loadVaryManifest (line 1324) | func loadVaryManifest(ctx context.Context, manager *manager, manifestKey... function allowsSharedCacheDirectives (line 1340) | func allowsSharedCacheDirectives(cc responseCacheControl) bool { function allowsSharedCache (line 1354) | func allowsSharedCache(cc string) bool { function makeHashAuthFunc (line 1358) | func makeHashAuthFunc(hexBufPool *sync.Pool) func([]byte) string { FILE: middleware/cache/cache_test.go type failingCacheStorage (line 30) | type failingCacheStorage struct method GetWithContext (line 107) | func (s *failingCacheStorage) GetWithContext(_ context.Context, key st... method Get (line 119) | func (s *failingCacheStorage) Get(key string) ([]byte, error) { method SetWithContext (line 123) | func (s *failingCacheStorage) SetWithContext(_ context.Context, key st... method Set (line 133) | func (s *failingCacheStorage) Set(key string, val []byte, exp time.Dur... method DeleteWithContext (line 137) | func (s *failingCacheStorage) DeleteWithContext(_ context.Context, key... method Delete (line 147) | func (s *failingCacheStorage) Delete(key string) error { method ResetWithContext (line 151) | func (s *failingCacheStorage) ResetWithContext(context.Context) error { method Reset (line 159) | func (s *failingCacheStorage) Reset() error { method Close (line 163) | func (*failingCacheStorage) Close() error { return nil } type mutatingStorage (line 36) | type mutatingStorage struct method GetWithContext (line 55) | func (s *mutatingStorage) GetWithContext(_ context.Context, key string... method Get (line 59) | func (s *mutatingStorage) Get(key string) ([]byte, error) { method SetWithContext (line 67) | func (s *mutatingStorage) SetWithContext(_ context.Context, key string... method Set (line 71) | func (s *mutatingStorage) Set(key string, val []byte, _ time.Duration)... method DeleteWithContext (line 84) | func (s *mutatingStorage) DeleteWithContext(_ context.Context, key str... method Delete (line 88) | func (s *mutatingStorage) Delete(key string) error { method ResetWithContext (line 93) | func (s *mutatingStorage) ResetWithContext(_ context.Context) error { method Reset (line 97) | func (s *mutatingStorage) Reset() error { method Close (line 102) | func (s *mutatingStorage) Close() error { function newFailingCacheStorage (line 41) | func newFailingCacheStorage() *failingCacheStorage { function newMutatingStorage (line 48) | func newMutatingStorage(mutate func(key string, value []byte) []byte) *m... type contextRecord (line 165) | type contextRecord struct type contextRecorderStorage (line 171) | type contextRecorderStorage struct method GetWithContext (line 193) | func (s *contextRecorderStorage) GetWithContext(ctx context.Context, k... method SetWithContext (line 198) | func (s *contextRecorderStorage) SetWithContext(ctx context.Context, k... method DeleteWithContext (line 203) | func (s *contextRecorderStorage) DeleteWithContext(ctx context.Context... method recordedGets (line 208) | func (s *contextRecorderStorage) recordedGets() []contextRecord { method recordedSets (line 214) | func (s *contextRecorderStorage) recordedSets() []contextRecord { method recordedDeletes (line 220) | func (s *contextRecorderStorage) recordedDeletes() []contextRecord { function newContextRecorderStorage (line 178) | func newContextRecorderStorage() *contextRecorderStorage { function contextRecordFrom (line 182) | func contextRecordFrom(ctx context.Context, key string) contextRecord { function TestCacheStorageGetError (line 226) | func TestCacheStorageGetError(t *testing.T) { function TestCacheStorageSetError (line 252) | func TestCacheStorageSetError(t *testing.T) { function TestCacheStorageDeleteError (line 278) | func TestCacheStorageDeleteError(t *testing.T) { type contextKey (line 311) | type contextKey constant markerKey (line 313) | markerKey contextKey = "marker" function contextWithMarker (line 315) | func contextWithMarker(label string) context.Context { function canceledContextWithMarker (line 319) | func canceledContextWithMarker(label string) context.Context { function TestCacheEvictionPropagatesRequestContextToDelete (line 325) | func TestCacheEvictionPropagatesRequestContextToDelete(t *testing.T) { function TestCacheCleanupPropagatesRequestContextToDelete (line 373) | func TestCacheCleanupPropagatesRequestContextToDelete(t *testing.T) { function TestCacheStorageOperationsObserveRequestContext (line 411) | func TestCacheStorageOperationsObserveRequestContext(t *testing.T) { function Test_Cache_CacheControl (line 485) | func Test_Cache_CacheControl(t *testing.T) { function Test_Cache_CacheControl_Disabled (line 504) | func Test_Cache_CacheControl_Disabled(t *testing.T) { function Test_Cache_Expired (line 526) | func Test_Cache_Expired(t *testing.T) { function Test_Cache (line 564) | func Test_Cache(t *testing.T) { function Test_Cache_WithNoCacheRequestDirective (line 593) | func Test_Cache_WithNoCacheRequestDirective(t *testing.T) { function Test_Cache_WithETagAndNoCacheRequestDirective (line 690) | func Test_Cache_WithETagAndNoCacheRequestDirective(t *testing.T) { function Test_Cache_WithNoStoreRequestDirective (line 766) | func Test_Cache_WithNoStoreRequestDirective(t *testing.T) { function Test_Cache_WithSeveralRequests (line 818) | func Test_Cache_WithSeveralRequests(t *testing.T) { function Test_Cache_Invalid_Expiration (line 855) | func Test_Cache_Invalid_Expiration(t *testing.T) { function Test_Cache_Get (line 884) | func Test_Cache_Get(t *testing.T) { function Test_Cache_Post (line 924) | func Test_Cache_Post(t *testing.T) { function Test_Cache_NothingToCache (line 966) | func Test_Cache_NothingToCache(t *testing.T) { function Test_Cache_CustomNext (line 995) | func Test_Cache_CustomNext(t *testing.T) { function Test_CustomKey (line 1038) | func Test_CustomKey(t *testing.T) { function Test_CustomExpiration (line 1058) | func Test_CustomExpiration(t *testing.T) { function Test_AdditionalE2EResponseHeaders (line 1116) | func Test_AdditionalE2EResponseHeaders(t *testing.T) { function Test_CacheHeader (line 1140) | func Test_CacheHeader(t *testing.T) { function Test_Cache_WithHead (line 1184) | func Test_Cache_WithHead(t *testing.T) { function Test_Cache_WithHeadThenGet (line 1217) | func Test_Cache_WithHeadThenGet(t *testing.T) { function Test_CustomCacheHeader (line 1257) | func Test_CustomCacheHeader(t *testing.T) { function Test_CacheInvalidation (line 1275) | func Test_CacheInvalidation(t *testing.T) { function Test_CacheInvalidation_noCacheEntry (line 1310) | func Test_CacheInvalidation_noCacheEntry(t *testing.T) { function Test_CacheInvalidation_removeFromHeap (line 1329) | func Test_CacheInvalidation_removeFromHeap(t *testing.T) { function Test_CacheStorage_CustomHeaders (line 1367) | func Test_CacheStorage_CustomHeaders(t *testing.T) { function stableAscendingExpiration (line 1397) | func stableAscendingExpiration() func(c1 fiber.Ctx, c2 *Config) time.Dur... function Test_Cache_MaxBytesOrder (line 1405) | func Test_Cache_MaxBytesOrder(t *testing.T) { function Test_Cache_MaxBytesSizes (line 1441) | func Test_Cache_MaxBytesSizes(t *testing.T) { function Test_Cache_UncacheableStatusCodes (line 1475) | func Test_Cache_UncacheableStatusCodes(t *testing.T) { function TestCacheAgeHeader (line 1556) | func TestCacheAgeHeader(t *testing.T) { function TestCacheUpstreamAge (line 1576) | func TestCacheUpstreamAge(t *testing.T) { function Test_CacheRequestMaxAgeRevalidates (line 1597) | func Test_CacheRequestMaxAgeRevalidates(t *testing.T) { function Test_CacheExpiresFutureAllowsCaching (line 1639) | func Test_CacheExpiresFutureAllowsCaching(t *testing.T) { function Test_CacheExpiresPastPreventsCaching (line 1669) | func Test_CacheExpiresPastPreventsCaching(t *testing.T) { function Test_CacheAllowsSharedCacheMustRevalidateWithAuthorization (line 1697) | func Test_CacheAllowsSharedCacheMustRevalidateWithAuthorization(t *testi... function Test_CacheAllowsSharedCacheProxyRevalidateWithAuthorization (line 1734) | func Test_CacheAllowsSharedCacheProxyRevalidateWithAuthorization(t *test... function Test_CacheInvalidExpiresStoredAsStale (line 1771) | func Test_CacheInvalidExpiresStoredAsStale(t *testing.T) { function Test_CacheSMaxAgeOverridesMaxAgeWhenShorter (line 1823) | func Test_CacheSMaxAgeOverridesMaxAgeWhenShorter(t *testing.T) { function Test_CacheSMaxAgeOverridesMaxAgeWhenLonger (line 1857) | func Test_CacheSMaxAgeOverridesMaxAgeWhenLonger(t *testing.T) { function Test_CacheOnlyIfCachedMiss (line 1897) | func Test_CacheOnlyIfCachedMiss(t *testing.T) { function Test_CacheOnlyIfCachedStaleNotServed (line 1919) | func Test_CacheOnlyIfCachedStaleNotServed(t *testing.T) { function Test_CacheMaxStaleServesStaleResponse (line 1947) | func Test_CacheMaxStaleServesStaleResponse(t *testing.T) { function Test_CacheMaxStaleRespectsMustRevalidate (line 1981) | func Test_CacheMaxStaleRespectsMustRevalidate(t *testing.T) { function Test_CacheMaxStaleRespectsProxyRevalidateSharedAuth (line 2011) | func Test_CacheMaxStaleRespectsProxyRevalidateSharedAuth(t *testing.T) { function Test_CachePreservesCacheControlHeaders (line 2046) | func Test_CachePreservesCacheControlHeaders(t *testing.T) { function setResponseDate (line 2075) | func setResponseDate(date time.Time) fiber.Handler { function Test_CacheDateAndAgeHandling (line 2085) | func Test_CacheDateAndAgeHandling(t *testing.T) { function Test_CacheClampsInvalidStoredDate (line 2163) | func Test_CacheClampsInvalidStoredDate(t *testing.T) { function Test_CacheClampsFutureStoredDate (line 2214) | func Test_CacheClampsFutureStoredDate(t *testing.T) { function Test_RequestPragmaNoCacheTriggersMiss (line 2270) | func Test_RequestPragmaNoCacheTriggersMiss(t *testing.T) { function Test_CacheStaleResponseAddsWarning110 (line 2316) | func Test_CacheStaleResponseAddsWarning110(t *testing.T) { function Test_CacheHeuristicFreshnessAddsWarning113 (line 2373) | func Test_CacheHeuristicFreshnessAddsWarning113(t *testing.T) { function Test_CacheHeuristicFreshnessAddsWarning113AfterThreshold (line 2399) | func Test_CacheHeuristicFreshnessAddsWarning113AfterThreshold(t *testing... function Test_CacheAgeHeaderIsCappedAtMaxDeltaSeconds (line 2467) | func Test_CacheAgeHeaderIsCappedAtMaxDeltaSeconds(t *testing.T) { function Test_CacheMinFreshForcesRevalidation (line 2514) | func Test_CacheMinFreshForcesRevalidation(t *testing.T) { function Test_CachePermanentRedirectCached (line 2551) | func Test_CachePermanentRedirectCached(t *testing.T) { function Test_CacheNoStoreDirective (line 2590) | func Test_CacheNoStoreDirective(t *testing.T) { function Test_CacheNoCacheDirective (line 2608) | func Test_CacheNoCacheDirective(t *testing.T) { function Test_CacheNoCacheDirectiveOverridesExistingEntry (line 2636) | func Test_CacheNoCacheDirectiveOverridesExistingEntry(t *testing.T) { function Test_CacheRespectsUpstreamAgeForFreshness (line 2678) | func Test_CacheRespectsUpstreamAgeForFreshness(t *testing.T) { function Test_CacheVarySeparatesVariants (line 2758) | func Test_CacheVarySeparatesVariants(t *testing.T) { function Test_CacheVaryStarUncacheable (line 2812) | func Test_CacheVaryStarUncacheable(t *testing.T) { function Test_CachePrivateDirective (line 2844) | func Test_CachePrivateDirective(t *testing.T) { function Test_CachePrivateDirectiveWithAuthorization (line 2872) | func Test_CachePrivateDirectiveWithAuthorization(t *testing.T) { function Test_CachePrivateDirectiveInvalidatesExistingEntry (line 2904) | func Test_CachePrivateDirectiveInvalidatesExistingEntry(t *testing.T) { function Test_CacheControlNotOverwritten (line 2947) | func Test_CacheControlNotOverwritten(t *testing.T) { function Test_CacheMaxAgeDirective (line 2964) | func Test_CacheMaxAgeDirective(t *testing.T) { function Test_ParseMaxAge (line 2983) | func Test_ParseMaxAge(t *testing.T) { function Test_AllowsSharedCache (line 3014) | func Test_AllowsSharedCache(t *testing.T) { function TestCacheSkipsAuthorizationByDefault (line 3049) | func TestCacheSkipsAuthorizationByDefault(t *testing.T) { function TestCacheBypassesExistingEntryForAuthorization (line 3082) | func TestCacheBypassesExistingEntryForAuthorization(t *testing.T) { function TestCacheAllowsSharedCacheWithAuthorization (line 3121) | func TestCacheAllowsSharedCacheWithAuthorization(t *testing.T) { function TestCacheAllowsAuthorizationWithRevalidateDirectives (line 3153) | func TestCacheAllowsAuthorizationWithRevalidateDirectives(t *testing.T) { function TestCacheSeparatesAuthorizationValues (line 3235) | func TestCacheSeparatesAuthorizationValues(t *testing.T) { function Benchmark_Cache (line 3297) | func Benchmark_Cache(b *testing.B) { function Benchmark_Cache_Miss (line 3323) | func Benchmark_Cache_Miss(b *testing.B) { function Benchmark_Cache_Storage (line 3353) | func Benchmark_Cache_Storage(b *testing.B) { function Benchmark_Cache_AdditionalHeaders (line 3381) | func Benchmark_Cache_AdditionalHeaders(b *testing.B) { function Benchmark_Cache_MaxSize (line 3408) | func Benchmark_Cache_MaxSize(b *testing.B) { function Test_Cache_RevalidationWithMaxBytes (line 3442) | func Test_Cache_RevalidationWithMaxBytes(t *testing.T) { function Test_parseCacheControlDirectives_QuotedStrings (line 3640) | func Test_parseCacheControlDirectives_QuotedStrings(t *testing.T) { function Test_unquoteCacheDirective (line 3743) | func Test_unquoteCacheDirective(t *testing.T) { function Test_Cache_MaxBytes_InsufficientSpace (line 3804) | func Test_Cache_MaxBytes_InsufficientSpace(t *testing.T) { function Test_Cache_MaxBytes_DeletionFailureRestoresTracking (line 3856) | func Test_Cache_MaxBytes_DeletionFailureRestoresTracking(t *testing.T) { function Test_Cache_MaxBytes_ConcurrencyAndRaceConditions (line 3917) | func Test_Cache_MaxBytes_ConcurrencyAndRaceConditions(t *testing.T) { function Test_Cache_HelperFunctions (line 4010) | func Test_Cache_HelperFunctions(t *testing.T) { function Test_Cache_VaryAndAuth (line 4155) | func Test_Cache_VaryAndAuth(t *testing.T) { function Test_Cache_DateAndCacheControl (line 4226) | func Test_Cache_DateAndCacheControl(t *testing.T) { function Test_Cache_CacheControlCombinations (line 4289) | func Test_Cache_CacheControlCombinations(t *testing.T) { function Test_Cache_RequestResponseDirectives (line 4531) | func Test_Cache_RequestResponseDirectives(t *testing.T) { function Test_Cache_ConfigurationAndResponseHandling (line 4841) | func Test_Cache_ConfigurationAndResponseHandling(t *testing.T) { FILE: middleware/cache/config.go type Config (line 11) | type Config struct function configDefault (line 101) | func configDefault(config ...Config) Config { FILE: middleware/cache/heap.go type heapEntry (line 7) | type heapEntry struct type indexedHeap (line 20) | type indexedHeap struct method Len (line 30) | func (h indexedHeap) Len() int { method Less (line 35) | func (h indexedHeap) Less(i, j int) bool { method Swap (line 40) | func (h indexedHeap) Swap(i, j int) { method Push (line 47) | func (h *indexedHeap) Push(x any) { method Pop (line 52) | func (h *indexedHeap) Pop() any { method pushInternal (line 58) | func (h *indexedHeap) pushInternal(entry heapEntry) { method put (line 64) | func (h *indexedHeap) put(key string, exp uint64, bytes uint) int { method removeInternal (line 84) | func (h *indexedHeap) removeInternal(realIdx int) (key string, size ui... method remove (line 90) | func (h *indexedHeap) remove(idx int) (key string, size uint) { //noli... method removeFirst (line 95) | func (h *indexedHeap) removeFirst() (key string, size uint) { //nolint... FILE: middleware/cache/manager.go type item (line 19) | type item struct type cachedHeader (line 41) | type cachedHeader struct type manager (line 47) | type manager struct method acquire (line 79) | func (m *manager) acquire() *item { method release (line 84) | func (m *manager) release(e *item) { method get (line 110) | func (m *manager) get(ctx context.Context, key string) (*item, error) { method getRaw (line 141) | func (m *manager) getRaw(ctx context.Context, key string) ([]byte, err... method set (line 165) | func (m *manager) set(ctx context.Context, key string, it *item, exp t... method setRaw (line 185) | func (m *manager) setRaw(ctx context.Context, key string, raw []byte, ... method del (line 198) | func (m *manager) del(ctx context.Context, key string) error { method logKey (line 210) | func (m *manager) logKey(key string) string { constant redactedKey (line 54) | redactedKey = "[redacted]" function newManager (line 58) | func newManager(storage fiber.Storage, redactKeys bool) *manager { FILE: middleware/cache/manager_msgp.go method DecodeMsg (line 10) | func (z *cachedHeader) DecodeMsg(dc *msgp.Reader) (err error) { method EncodeMsg (line 57) | func (z *cachedHeader) EncodeMsg(en *msgp.Writer) (err error) { method MarshalMsg (line 83) | func (z *cachedHeader) MarshalMsg(b []byte) (o []byte, err error) { method UnmarshalMsg (line 96) | func (z *cachedHeader) UnmarshalMsg(bts []byte) (o []byte, err error) { method Msgsize (line 170) | func (z *cachedHeader) Msgsize() (s int) { method DecodeMsg (line 176) | func (z *item) DecodeMsg(dc *msgp.Reader) (err error) { method EncodeMsg (line 378) | func (z *item) EncodeMsg(en *msgp.Writer) (err error) { method MarshalMsg (line 577) | func (z *item) MarshalMsg(b []byte) (o []byte, err error) { method UnmarshalMsg (line 644) | func (z *item) UnmarshalMsg(bts []byte) (o []byte, err error) { method Msgsize (line 938) | func (z *item) Msgsize() (s int) { FILE: middleware/cache/manager_msgp_test.go function TestMarshalUnmarshalcachedHeader (line 12) | func TestMarshalUnmarshalcachedHeader(t *testing.T) { function BenchmarkMarshalMsgcachedHeader (line 35) | func BenchmarkMarshalMsgcachedHeader(b *testing.B) { function BenchmarkAppendMsgcachedHeader (line 44) | func BenchmarkAppendMsgcachedHeader(b *testing.B) { function BenchmarkUnmarshalcachedHeader (line 56) | func BenchmarkUnmarshalcachedHeader(b *testing.B) { function TestEncodeDecodecachedHeader (line 70) | func TestEncodeDecodecachedHeader(t *testing.T) { function BenchmarkEncodecachedHeader (line 94) | func BenchmarkEncodecachedHeader(b *testing.B) { function BenchmarkDecodecachedHeader (line 108) | func BenchmarkDecodecachedHeader(b *testing.B) { function TestMarshalUnmarshalitem (line 125) | func TestMarshalUnmarshalitem(t *testing.T) { function BenchmarkMarshalMsgitem (line 148) | func BenchmarkMarshalMsgitem(b *testing.B) { function BenchmarkAppendMsgitem (line 157) | func BenchmarkAppendMsgitem(b *testing.B) { function BenchmarkUnmarshalitem (line 169) | func BenchmarkUnmarshalitem(b *testing.B) { function TestEncodeDecodeitem (line 183) | func TestEncodeDecodeitem(t *testing.T) { function BenchmarkEncodeitem (line 207) | func BenchmarkEncodeitem(b *testing.B) { function BenchmarkDecodeitem (line 221) | func BenchmarkDecodeitem(b *testing.B) { FILE: middleware/cache/manager_test.go function Test_manager_get (line 13) | func Test_manager_get(t *testing.T) { function Test_manager_logKey (line 34) | func Test_manager_logKey(t *testing.T) { FILE: middleware/compress/compress.go function hasToken (line 12) | func hasToken(header, token string) bool { function shouldSkip (line 21) | func shouldSkip(c fiber.Ctx) bool { function appendVaryAcceptEncoding (line 41) | func appendVaryAcceptEncoding(c fiber.Ctx) { function New (line 54) | func New(config ...Config) fiber.Handler { FILE: middleware/compress/compress_test.go function init (line 26) | func init() { function Test_Compress_Gzip (line 35) | func Test_Compress_Gzip(t *testing.T) { function Test_Compress_Different_Level (line 61) | func Test_Compress_Different_Level(t *testing.T) { function Test_Compress_Deflate (line 96) | func Test_Compress_Deflate(t *testing.T) { function Test_Compress_Brotli (line 120) | func Test_Compress_Brotli(t *testing.T) { function Test_Compress_Zstd (line 144) | func Test_Compress_Zstd(t *testing.T) { function Test_Compress_Disabled (line 168) | func Test_Compress_Disabled(t *testing.T) { function Test_Compress_Adds_Vary_Header (line 192) | func Test_Compress_Adds_Vary_Header(t *testing.T) { function Test_Compress_Vary_Star (line 210) | func Test_Compress_Vary_Star(t *testing.T) { function Test_Compress_Vary_List_Star (line 229) | func Test_Compress_Vary_List_Star(t *testing.T) { function Test_Compress_Vary_Similar_Substring (line 248) | func Test_Compress_Vary_Similar_Substring(t *testing.T) { function Test_Compress_Skip_When_Content_Encoding_Set (line 267) | func Test_Compress_Skip_When_Content_Encoding_Set(t *testing.T) { function Test_Compress_Skip_When_Content_Encoding_Set_Vary_Star (line 292) | func Test_Compress_Skip_When_Content_Encoding_Set_Vary_Star(t *testing.T) { function Test_Compress_Skip_When_Content_Encoding_Set_Vary_List_Star (line 312) | func Test_Compress_Skip_When_Content_Encoding_Set_Vary_List_Star(t *test... function Test_Compress_Skip_When_Content_Encoding_Set_Vary_Similar_Substring (line 332) | func Test_Compress_Skip_When_Content_Encoding_Set_Vary_Similar_Substring... function Test_Compress_Strong_ETag_Recalculated (line 352) | func Test_Compress_Strong_ETag_Recalculated(t *testing.T) { function Test_Compress_Weak_ETag_Unchanged (line 376) | func Test_Compress_Weak_ETag_Unchanged(t *testing.T) { function Test_Compress_Strong_ETag_Unchanged_When_Not_Compressed (line 397) | func Test_Compress_Strong_ETag_Unchanged_When_Not_Compressed(t *testing.... function Test_Compress_Skip_Head (line 418) | func Test_Compress_Skip_Head(t *testing.T) { function Test_Compress_Skip_Status_NoContent (line 455) | func Test_Compress_Skip_Status_NoContent(t *testing.T) { function Test_Compress_Skip_Status_NotModified (line 476) | func Test_Compress_Skip_Status_NotModified(t *testing.T) { function Test_Compress_Skip_Range (line 498) | func Test_Compress_Skip_Range(t *testing.T) { function Test_Compress_Skip_Range_NoAcceptEncoding (line 518) | func Test_Compress_Skip_Range_NoAcceptEncoding(t *testing.T) { function Test_Compress_Skip_Range_Vary_Star (line 537) | func Test_Compress_Skip_Range_Vary_Star(t *testing.T) { function Test_Compress_Skip_Range_Vary_Similar_Substring (line 558) | func Test_Compress_Skip_Range_Vary_Similar_Substring(t *testing.T) { function Test_Compress_Skip_Status_PartialContent (line 579) | func Test_Compress_Skip_Status_PartialContent(t *testing.T) { function Test_Compress_Skip_NoTransform (line 599) | func Test_Compress_Skip_NoTransform(t *testing.T) { function Test_Compress_Next_Error (line 636) | func Test_Compress_Next_Error(t *testing.T) { function Test_Compress_Next (line 660) | func Test_Compress_Next(t *testing.T) { function Benchmark_Compress (line 675) | func Benchmark_Compress(b *testing.B) { function Benchmark_Compress_Levels (line 714) | func Benchmark_Compress_Levels(b *testing.B) { function Benchmark_Compress_Parallel (line 765) | func Benchmark_Compress_Parallel(b *testing.B) { function Benchmark_Compress_Levels_Parallel (line 808) | func Benchmark_Compress_Levels_Parallel(b *testing.B) { FILE: middleware/compress/config.go type Config (line 8) | type Config struct type Level (line 25) | type Level constant LevelDisabled (line 29) | LevelDisabled Level = -1 constant LevelDefault (line 30) | LevelDefault Level = 0 constant LevelBestSpeed (line 31) | LevelBestSpeed Level = 1 constant LevelBestCompression (line 32) | LevelBestCompression Level = 2 function configDefault (line 42) | func configDefault(config ...Config) Config { FILE: middleware/cors/config.go type Config (line 8) | type Config struct FILE: middleware/cors/cors.go constant redactedValue (line 14) | redactedValue = "[redacted]" function isOriginSerializedOrNull (line 18) | func isOriginSerializedOrNull(originHeaderRaw string) (isSerialized, isN... function New (line 28) | func New(config ...Config) fiber.Handler { function setSimpleHeaders (line 215) | func setSimpleHeaders(c fiber.Ctx, allowOrigin string, cfg *Config) { function setPreflightHeaders (line 241) | func setPreflightHeaders(c fiber.Ctx, allowOrigin, maxAge string, cfg *C... FILE: middleware/cors/cors_test.go function Test_CORS_Defaults (line 17) | func Test_CORS_Defaults(t *testing.T) { function Test_CORS_Empty_Config (line 25) | func Test_CORS_Empty_Config(t *testing.T) { function Test_CORS_WildcardHeaders (line 33) | func Test_CORS_WildcardHeaders(t *testing.T) { function Test_CORS_Negative_MaxAge (line 58) | func Test_CORS_Negative_MaxAge(t *testing.T) { function Test_CORS_MaxAge_NotSetOnSimpleRequest (line 73) | func Test_CORS_MaxAge_NotSetOnSimpleRequest(t *testing.T) { function Test_CORS_Preserve_Origin_Case (line 87) | func Test_CORS_Preserve_Origin_Case(t *testing.T) { function testDefaultOrEmptyConfig (line 104) | func testDefaultOrEmptyConfig(t *testing.T, app *fiber.App) { function Test_CORS_AllowOrigins_Vary (line 131) | func Test_CORS_AllowOrigins_Vary(t *testing.T) { function Test_CORS_Wildcard (line 159) | func Test_CORS_Wildcard(t *testing.T) { function Test_CORS_Origin_AllowCredentials (line 201) | func Test_CORS_Origin_AllowCredentials(t *testing.T) { function Test_CORS_Wildcard_AllowCredentials_Panic (line 244) | func Test_CORS_Wildcard_AllowCredentials_Panic(t *testing.T) { function Test_CORS_Warn_AllowAllOrigins_WithFunc (line 270) | func Test_CORS_Warn_AllowAllOrigins_WithFunc(t *testing.T) { function Test_CORS_Invalid_Origins_Panic (line 284) | func Test_CORS_Invalid_Origins_Panic(t *testing.T) { function Test_CORS_DisableValueRedaction (line 323) | func Test_CORS_DisableValueRedaction(t *testing.T) { function Test_CORS_Subdomain (line 342) | func Test_CORS_Subdomain(t *testing.T) { function Test_CORS_AllowOriginScheme (line 407) | func Test_CORS_AllowOriginScheme(t *testing.T) { function Test_CORS_AllowOriginHeader_NoMatch (line 538) | func Test_CORS_AllowOriginHeader_NoMatch(t *testing.T) { function Test_CORS_Next (line 568) | func Test_CORS_Next(t *testing.T) { function Test_CORS_Headers_BasedOnRequestType (line 583) | func Test_CORS_Headers_BasedOnRequestType(t *testing.T) { function Test_CORS_AllowOriginsAndAllowOriginsFunc (line 668) | func Test_CORS_AllowOriginsAndAllowOriginsFunc(t *testing.T) { function Test_CORS_AllowOriginsFunc (line 722) | func Test_CORS_AllowOriginsFunc(t *testing.T) { function Test_CORS_AllowOriginsFuncRejectsNonSerializedOrigins (line 763) | func Test_CORS_AllowOriginsFuncRejectsNonSerializedOrigins(t *testing.T) { function Test_CORS_AllowOriginsAndAllowOriginsFunc_AllUseCases (line 862) | func Test_CORS_AllowOriginsAndAllowOriginsFunc_AllUseCases(t *testing.T) { function Test_CORS_AllowCredentials (line 1009) | func Test_CORS_AllowCredentials(t *testing.T) { function Test_CORS_AllowPrivateNetwork (line 1101) | func Test_CORS_AllowPrivateNetwork(t *testing.T) { function Benchmark_CORS_NewHandler (line 1209) | func Benchmark_CORS_NewHandler(b *testing.B) { function Benchmark_CORS_NewHandler_Parallel (line 1243) | func Benchmark_CORS_NewHandler_Parallel(b *testing.B) { function Benchmark_CORS_NewHandlerSingleOrigin (line 1281) | func Benchmark_CORS_NewHandlerSingleOrigin(b *testing.B) { function Benchmark_CORS_NewHandlerSingleOrigin_Parallel (line 1315) | func Benchmark_CORS_NewHandlerSingleOrigin_Parallel(b *testing.B) { function Benchmark_CORS_NewHandlerWildcard (line 1353) | func Benchmark_CORS_NewHandlerWildcard(b *testing.B) { function Benchmark_CORS_NewHandlerWildcard_Parallel (line 1386) | func Benchmark_CORS_NewHandlerWildcard_Parallel(b *testing.B) { function Benchmark_CORS_NewHandlerPreflight (line 1423) | func Benchmark_CORS_NewHandlerPreflight(b *testing.B) { function Benchmark_CORS_NewHandlerPreflight_Parallel (line 1459) | func Benchmark_CORS_NewHandlerPreflight_Parallel(b *testing.B) { function Benchmark_CORS_NewHandlerPreflightSingleOrigin (line 1498) | func Benchmark_CORS_NewHandlerPreflightSingleOrigin(b *testing.B) { function Benchmark_CORS_NewHandlerPreflightSingleOrigin_Parallel (line 1533) | func Benchmark_CORS_NewHandlerPreflightSingleOrigin_Parallel(b *testing.... function Benchmark_CORS_NewHandlerPreflightWildcard (line 1572) | func Benchmark_CORS_NewHandlerPreflightWildcard(b *testing.B) { function Benchmark_CORS_NewHandlerPreflightWildcard_Parallel (line 1606) | func Benchmark_CORS_NewHandlerPreflightWildcard_Parallel(b *testing.B) { FILE: middleware/cors/utils.go function matchScheme (line 11) | func matchScheme(domain, pattern string) bool { function normalizeDomain (line 18) | func normalizeDomain(input string) string { function normalizeOrigin (line 40) | func normalizeOrigin(origin string) (valid bool, normalized string) { //... type subdomain (line 68) | type subdomain struct method match (line 74) | func (s subdomain) match(o string) bool { FILE: middleware/cors/utils_test.go function Test_NormalizeOrigin (line 10) | func Test_NormalizeOrigin(t *testing.T) { function Test_MatchScheme (line 58) | func Test_MatchScheme(t *testing.T) { function Test_NormalizeDomain (line 86) | func Test_NormalizeDomain(t *testing.T) { function Benchmark_CORS_SubdomainMatch (line 117) | func Benchmark_CORS_SubdomainMatch(b *testing.B) { function Test_CORS_SubdomainMatch (line 132) | func Test_CORS_SubdomainMatch(t *testing.T) { FILE: middleware/csrf/config.go type Config (line 15) | type Config struct constant HeaderName (line 128) | HeaderName = "X-Csrf-Token" function defaultErrorHandler (line 142) | func defaultErrorHandler(_ fiber.Ctx, _ error) error { function configDefault (line 147) | func configDefault(config ...Config) Config { function validateExtractorSecurity (line 183) | func validateExtractorSecurity(cfg *Config) { function isInsecureCookieExtractor (line 208) | func isInsecureCookieExtractor(extractor extractors.Extractor, cookieNam... FILE: middleware/csrf/config_test.go function Test_CSRF_ExtractorSecurity_Validation (line 15) | func Test_CSRF_ExtractorSecurity_Validation(t *testing.T) { function Test_CSRF_Extractor_Metadata (line 109) | func Test_CSRF_Extractor_Metadata(t *testing.T) { function Test_CSRF_Chain_Extractor_Metadata (line 155) | func Test_CSRF_Chain_Extractor_Metadata(t *testing.T) { function Test_CSRF_Custom_Extractor_Struct (line 191) | func Test_CSRF_Custom_Extractor_Struct(t *testing.T) { function Test_CSRF_Extractor_Error_Types (line 243) | func Test_CSRF_Extractor_Error_Types(t *testing.T) { function Test_CSRF_Security_Warnings (line 308) | func Test_CSRF_Security_Warnings(t *testing.T) { function Test_isInsecureCookieExtractor (line 331) | func Test_isInsecureCookieExtractor(t *testing.T) { function Test_CSRF_CookieName_CaseInsensitive_Warning (line 387) | func Test_CSRF_CookieName_CaseInsensitive_Warning(t *testing.T) { FILE: middleware/csrf/csrf.go type Handler (line 33) | type Handler struct method DeleteToken (line 311) | func (handler *Handler) DeleteToken(c fiber.Ctx) error { type contextKey (line 41) | type contextKey constant tokenKey (line 45) | tokenKey contextKey = iota constant handlerKey (line 46) | handlerKey function New (line 50) | func New(config ...Config) fiber.Handler { function TokenFromContext (line 227) | func TokenFromContext(ctx any) string { function HandlerFromContext (line 238) | func HandlerFromContext(ctx any) *Handler { function getRawFromStorage (line 248) | func getRawFromStorage(c fiber.Ctx, token string, cfg *Config, sessionMa... function createOrExtendTokenInStorage (line 260) | func createOrExtendTokenInStorage(c fiber.Ctx, token string, cfg *Config... function deleteTokenFromStorage (line 271) | func deleteTokenFromStorage(c fiber.Ctx, token string, cfg *Config, sess... function updateCSRFCookie (line 284) | func updateCSRFCookie(c fiber.Ctx, cfg *Config, token string) { function expireCSRFCookie (line 288) | func expireCSRFCookie(c fiber.Ctx, cfg *Config) { function setCSRFCookie (line 292) | func setCSRFCookie(c fiber.Ctx, cfg *Config, token string, expiry time.D... function validateSecFetchSite (line 326) | func validateSecFetchSite(c fiber.Ctx) error { function originMatchesHost (line 344) | func originMatchesHost(c fiber.Ctx, trustedOrigins []string, trustedSubO... function refererMatchesHost (line 375) | func refererMatchesHost(c fiber.Ctx, trustedOrigins []string, trustedSub... FILE: middleware/csrf/csrf_test.go type failingCSRFStorage (line 21) | type failingCSRFStorage struct method GetWithContext (line 33) | func (s *failingCSRFStorage) GetWithContext(_ context.Context, key str... method Get (line 61) | func (s *failingCSRFStorage) Get(key string) ([]byte, error) { method SetWithContext (line 65) | func (s *failingCSRFStorage) SetWithContext(_ context.Context, key str... method Set (line 73) | func (s *failingCSRFStorage) Set(key string, val []byte, exp time.Dura... method DeleteWithContext (line 77) | func (s *failingCSRFStorage) DeleteWithContext(_ context.Context, key ... method Delete (line 85) | func (s *failingCSRFStorage) Delete(key string) error { method ResetWithContext (line 89) | func (s *failingCSRFStorage) ResetWithContext(context.Context) error { method Reset (line 95) | func (s *failingCSRFStorage) Reset() error { method Close (line 99) | func (*failingCSRFStorage) Close() error { return nil } function newFailingCSRFStorage (line 26) | func newFailingCSRFStorage() *failingCSRFStorage { function newTrustedApp (line 50) | func newTrustedApp() *fiber.App { function newTrustedRequestCtx (line 54) | func newTrustedRequestCtx() *fasthttp.RequestCtx { function TestCSRFStorageGetError (line 101) | func TestCSRFStorageGetError(t *testing.T) { function TestCSRFStorageSetError (line 132) | func TestCSRFStorageSetError(t *testing.T) { function TestCSRFStorageDeleteError (line 163) | func TestCSRFStorageDeleteError(t *testing.T) { function Test_CSRF (line 197) | func Test_CSRF(t *testing.T) { function Test_CSRF_WithSession (line 253) | func Test_CSRF_WithSession(t *testing.T) { function Test_CSRF_WithSession_Middleware (line 344) | func Test_CSRF_WithSession_Middleware(t *testing.T) { function Test_CSRF_ExpiredToken (line 407) | func Test_CSRF_ExpiredToken(t *testing.T) { function Test_CSRF_ExpiredToken_WithSession (line 451) | func Test_CSRF_ExpiredToken_WithSession(t *testing.T) { function Test_CSRF_MultiUseToken (line 529) | func Test_CSRF_MultiUseToken(t *testing.T) { function Test_CSRF_SingleUseToken (line 573) | func Test_CSRF_SingleUseToken(t *testing.T) { function Test_CSRF_Next (line 619) | func Test_CSRF_Next(t *testing.T) { function Test_CSRF_From_Form (line 633) | func Test_CSRF_From_Form(t *testing.T) { function Test_CSRF_From_Query (line 670) | func Test_CSRF_From_Query(t *testing.T) { function Test_CSRF_From_Param (line 708) | func Test_CSRF_From_Param(t *testing.T) { function Test_CSRF_From_Custom (line 746) | func Test_CSRF_From_Custom(t *testing.T) { function Test_CSRF_Extractor_EmptyString (line 798) | func Test_CSRF_Extractor_EmptyString(t *testing.T) { function Test_CSRF_SecFetchSite (line 845) | func Test_CSRF_SecFetchSite(t *testing.T) { function Test_CSRF_Origin (line 1021) | func Test_CSRF_Origin(t *testing.T) { function Test_CSRF_TrustedOrigins (line 1184) | func Test_CSRF_TrustedOrigins(t *testing.T) { function Test_CSRF_TrustedOrigins_InvalidOrigins (line 1341) | func Test_CSRF_TrustedOrigins_InvalidOrigins(t *testing.T) { function Test_CSRF_Referer (line 1372) | func Test_CSRF_Referer(t *testing.T) { function Test_CSRF_DeleteToken (line 1524) | func Test_CSRF_DeleteToken(t *testing.T) { function Test_CSRF_DeleteToken_WithSession (line 1583) | func Test_CSRF_DeleteToken_WithSession(t *testing.T) { function Test_CSRF_ErrorHandler_InvalidToken (line 1653) | func Test_CSRF_ErrorHandler_InvalidToken(t *testing.T) { function Test_CSRF_ErrorHandler_EmptyToken (line 1685) | func Test_CSRF_ErrorHandler_EmptyToken(t *testing.T) { function Test_CSRF_ErrorHandler_MissingReferer (line 1716) | func Test_CSRF_ErrorHandler_MissingReferer(t *testing.T) { function Test_CSRF_Cookie_Injection_Exploit (line 1753) | func Test_CSRF_Cookie_Injection_Exploit(t *testing.T) { function Test_CSRF_UnsafeHeaderValue (line 1788) | func Test_CSRF_UnsafeHeaderValue(t *testing.T) { function Benchmark_Middleware_CSRF_Check (line 1856) | func Benchmark_Middleware_CSRF_Check(b *testing.B) { function Benchmark_Middleware_CSRF_GenerateToken (line 1900) | func Benchmark_Middleware_CSRF_GenerateToken(b *testing.B) { function Test_CSRF_InvalidURLHeaders (line 1923) | func Test_CSRF_InvalidURLHeaders(t *testing.T) { function Test_CSRF_TokenFromContext (line 1979) | func Test_CSRF_TokenFromContext(t *testing.T) { function Test_CSRF_FromContextMethods (line 1996) | func Test_CSRF_FromContextMethods(t *testing.T) { function Test_CSRF_FromContextMethods_Invalid (line 2026) | func Test_CSRF_FromContextMethods_Invalid(t *testing.T) { function Test_deleteTokenFromStorage (line 2045) | func Test_deleteTokenFromStorage(t *testing.T) { function Test_storageManager_logKey (line 2076) | func Test_storageManager_logKey(t *testing.T) { function Test_CSRF_Chain_Extractor (line 2086) | func Test_CSRF_Chain_Extractor(t *testing.T) { function Test_CSRF_Chain_Extractor_Empty (line 2161) | func Test_CSRF_Chain_Extractor_Empty(t *testing.T) { function Test_CSRF_Chain_Extractor_SingleExtractor (line 2193) | func Test_CSRF_Chain_Extractor_SingleExtractor(t *testing.T) { function Test_CSRF_All_Extractors (line 2233) | func Test_CSRF_All_Extractors(t *testing.T) { function Test_CSRF_Param_Extractor (line 2335) | func Test_CSRF_Param_Extractor(t *testing.T) { function Test_CSRF_Param_Extractor_Missing (line 2395) | func Test_CSRF_Param_Extractor_Missing(t *testing.T) { function Test_CSRF_Extractors_ErrorTypes (line 2427) | func Test_CSRF_Extractors_ErrorTypes(t *testing.T) { FILE: middleware/csrf/helpers.go constant schemeHTTP (line 13) | schemeHTTP = "http" constant schemeHTTPS (line 14) | schemeHTTPS = "https" function compareTokens (line 17) | func compareTokens(a, b []byte) bool { function compareStrings (line 21) | func compareStrings(a, b string) bool { function schemeAndHostMatch (line 25) | func schemeAndHostMatch(schemeA, hostA, schemeB, hostB string) bool { function normalizeSchemeHost (line 35) | func normalizeSchemeHost(scheme, host string) string { function normalizeOrigin (line 73) | func normalizeOrigin(origin string) (valid bool, normalized string) { //... type subdomain (line 102) | type subdomain struct method match (line 107) | func (s subdomain) match(o string) bool { FILE: middleware/csrf/helpers_test.go function Test_normalizeOrigin (line 10) | func Test_normalizeOrigin(t *testing.T) { function Test_normalizeSchemeHost (line 58) | func Test_normalizeSchemeHost(t *testing.T) { function TestSubdomainMatch (line 114) | func TestSubdomainMatch(t *testing.T) { function Benchmark_CSRF_SubdomainMatch (line 202) | func Benchmark_CSRF_SubdomainMatch(b *testing.B) { FILE: middleware/csrf/session_manager.go type sessionManager (line 11) | type sessionManager struct method getRaw (line 36) | func (m *sessionManager) getRaw(c fiber.Ctx, key string, raw []byte) [... method setRaw (line 64) | func (m *sessionManager) setRaw(c fiber.Ctx, key string, raw []byte, e... method delRaw (line 84) | func (m *sessionManager) delRaw(c fiber.Ctx) { type sessionKeyType (line 15) | type sessionKeyType constant sessionKey (line 18) | sessionKey sessionKeyType = 0 function newSessionManager (line 21) | func newSessionManager(s *session.Store) *sessionManager { FILE: middleware/csrf/storage_manager.go type item (line 16) | type item struct constant redactedKey (line 18) | redactedKey = "[redacted]" type storageManager (line 22) | type storageManager struct method getRaw (line 50) | func (m *storageManager) getRaw(ctx context.Context, key string) ([]by... method setRaw (line 71) | func (m *storageManager) setRaw(ctx context.Context, key string, raw [... method delRaw (line 84) | func (m *storageManager) delRaw(ctx context.Context, key string) error { method logKey (line 96) | func (m *storageManager) logKey(key string) string { function newStorageManager (line 29) | func newStorageManager(storage fiber.Storage, redactKeys bool) *storageM... FILE: middleware/csrf/storage_manager_msgp.go method DecodeMsg (line 10) | func (z *item) DecodeMsg(dc *msgp.Reader) (err error) { method EncodeMsg (line 39) | func (z item) EncodeMsg(en *msgp.Writer) (err error) { method MarshalMsg (line 50) | func (z item) MarshalMsg(b []byte) (o []byte, err error) { method UnmarshalMsg (line 59) | func (z *item) UnmarshalMsg(bts []byte) (o []byte, err error) { method Msgsize (line 89) | func (z item) Msgsize() (s int) { FILE: middleware/csrf/storage_manager_msgp_test.go function TestMarshalUnmarshalitem (line 12) | func TestMarshalUnmarshalitem(t *testing.T) { function BenchmarkMarshalMsgitem (line 35) | func BenchmarkMarshalMsgitem(b *testing.B) { function BenchmarkAppendMsgitem (line 44) | func BenchmarkAppendMsgitem(b *testing.B) { function BenchmarkUnmarshalitem (line 56) | func BenchmarkUnmarshalitem(b *testing.B) { function TestEncodeDecodeitem (line 70) | func TestEncodeDecodeitem(t *testing.T) { function BenchmarkEncodeitem (line 94) | func BenchmarkEncodeitem(b *testing.B) { function BenchmarkDecodeitem (line 108) | func BenchmarkDecodeitem(b *testing.B) { FILE: middleware/csrf/token.go type Token (line 9) | type Token struct FILE: middleware/earlydata/config.go constant DefaultHeaderName (line 8) | DefaultHeaderName = "Early-Data" constant DefaultHeaderTrueValue (line 9) | DefaultHeaderTrueValue = "1" type Config (line 13) | type Config struct function configDefault (line 49) | func configDefault(config ...Config) Config { FILE: middleware/earlydata/earlydata.go type contextKey (line 9) | type contextKey constant localsKeyAllowed (line 12) | localsKeyAllowed contextKey = 0 function IsEarly (line 16) | func IsEarly(c fiber.Ctx) bool { function New (line 22) | func New(config ...Config) fiber.Handler { FILE: middleware/earlydata/earlydata_test.go constant headerName (line 17) | headerName = "Early-Data" constant headerValOn (line 18) | headerValOn = "1" constant headerValOff (line 19) | headerValOff = "0" constant trustedRemoteAddr (line 23) | trustedRemoteAddr = "0.0.0.0:1234" constant untrustedRemoteAddr (line 24) | untrustedRemoteAddr = "203.0.113.1:1234" function appWithConfig (line 27) | func appWithConfig(t *testing.T, c *fiber.Config) *fiber.App { type requestExpectation (line 89) | type requestExpectation struct function executeExpectations (line 95) | func executeExpectations(t *testing.T, app *fiber.App, remoteAddr string... function Test_EarlyData (line 112) | func Test_EarlyData(t *testing.T) { function Test_EarlyDataNext (line 166) | func Test_EarlyDataNext(t *testing.T) { function Test_configDefault_NoConfig (line 193) | func Test_configDefault_NoConfig(t *testing.T) { function Test_configDefault_WithConfig (line 203) | func Test_configDefault_WithConfig(t *testing.T) { FILE: middleware/encryptcookie/config.go type Config (line 8) | type Config struct function configDefault (line 47) | func configDefault(config ...Config) Config { FILE: middleware/encryptcookie/config_test.go function Test_configDefault_KeyValidation (line 12) | func Test_configDefault_KeyValidation(t *testing.T) { FILE: middleware/encryptcookie/encryptcookie.go function New (line 12) | func New(config ...Config) fiber.Handler { FILE: middleware/encryptcookie/encryptcookie_test.go function Test_Middleware_Panics (line 18) | func Test_Middleware_Panics(t *testing.T) { function Test_Middleware_InvalidKeys (line 39) | func Test_Middleware_InvalidKeys(t *testing.T) { function Test_Middleware_InvalidBase64 (line 74) | func Test_Middleware_InvalidBase64(t *testing.T) { function Test_DecryptCookie_InvalidEncryptedValue (line 100) | func Test_DecryptCookie_InvalidEncryptedValue(t *testing.T) { function Test_Middleware_EncryptionErrorPropagates (line 111) | func Test_Middleware_EncryptionErrorPropagates(t *testing.T) { function Test_Middleware_EncryptionErrorDoesNotMaskNextError (line 149) | func Test_Middleware_EncryptionErrorDoesNotMaskNextError(t *testing.T) { function Test_Middleware_Encrypt_Cookie (line 189) | func Test_Middleware_Encrypt_Cookie(t *testing.T) { function Test_EncryptCookie_Rejects_Swapped_Names (line 251) | func Test_EncryptCookie_Rejects_Swapped_Names(t *testing.T) { function Test_Encrypt_Cookie_Next (line 267) | func Test_Encrypt_Cookie_Next(t *testing.T) { function Test_Encrypt_Cookie_Except (line 292) | func Test_Encrypt_Cookie_Except(t *testing.T) { function Test_Encrypt_Cookie_Custom_Encryptor (line 337) | func Test_Encrypt_Cookie_Custom_Encryptor(t *testing.T) { function Test_GenerateKey (line 387) | func Test_GenerateKey(t *testing.T) { function Benchmark_Middleware_Encrypt_Cookie (line 420) | func Benchmark_Middleware_Encrypt_Cookie(b *testing.B) { function Benchmark_Encrypt_Cookie_Next (line 467) | func Benchmark_Encrypt_Cookie_Next(b *testing.B) { function Benchmark_Encrypt_Cookie_Except (line 498) | func Benchmark_Encrypt_Cookie_Except(b *testing.B) { function Benchmark_Encrypt_Cookie_Custom_Encryptor (line 533) | func Benchmark_Encrypt_Cookie_Custom_Encryptor(b *testing.B) { function Benchmark_Middleware_Encrypt_Cookie_Parallel (line 587) | func Benchmark_Middleware_Encrypt_Cookie_Parallel(b *testing.B) { function Benchmark_Encrypt_Cookie_Next_Parallel (line 646) | func Benchmark_Encrypt_Cookie_Next_Parallel(b *testing.B) { function Benchmark_Encrypt_Cookie_Except_Parallel (line 679) | func Benchmark_Encrypt_Cookie_Except_Parallel(b *testing.B) { function Benchmark_Encrypt_Cookie_Custom_Encryptor_Parallel (line 716) | func Benchmark_Encrypt_Cookie_Custom_Encryptor_Parallel(b *testing.B) { function Benchmark_GenerateKey (line 765) | func Benchmark_GenerateKey(b *testing.B) { function Benchmark_GenerateKey_Parallel (line 783) | func Benchmark_GenerateKey_Parallel(b *testing.B) { function Test_Middleware_Mixed_Valid_Invalid_Cookies (line 807) | func Test_Middleware_Mixed_Valid_Invalid_Cookies(t *testing.T) { FILE: middleware/encryptcookie/utils.go function decodeKey (line 20) | func decodeKey(key string) ([]byte, error) { function validateKey (line 35) | func validateKey(key string) error { function EncryptCookie (line 41) | func EncryptCookie(name, value, key string) (string, error) { function DecryptCookie (line 62) | func DecryptCookie(name, value, key string) (string, error) { function GenerateKey (line 98) | func GenerateKey(length int) string { function isDisabled (line 113) | func isDisabled(key string, except []string) bool { FILE: middleware/envvar/config.go type Config (line 4) | type Config struct function configDefault (line 14) | func configDefault(config ...Config) Config { FILE: middleware/envvar/envvar.go constant hAllow (line 9) | hAllow = fiber.MethodGet + ", " + fiber.MethodHead type EnvVar (line 13) | type EnvVar struct method set (line 17) | func (envVar *EnvVar) set(key, val string) { function New (line 23) | func New(config ...Config) fiber.Handler { function newEnvVar (line 43) | func newEnvVar(cfg Config) *EnvVar { FILE: middleware/envvar/envvar_test.go function Test_EnvVarStructWithExportVars (line 15) | func Test_EnvVarStructWithExportVars(t *testing.T) { function Test_EnvVarHandler (line 27) | func Test_EnvVarHandler(t *testing.T) { function Test_EnvVarHandlerNotMatched (line 54) | func Test_EnvVarHandlerNotMatched(t *testing.T) { function Test_EnvVarHandlerDefaultConfig (line 76) | func Test_EnvVarHandlerDefaultConfig(t *testing.T) { function Test_EnvVarHandlerMethod (line 96) | func Test_EnvVarHandlerMethod(t *testing.T) { function Test_EnvVarHandlerHead (line 108) | func Test_EnvVarHandlerHead(t *testing.T) { function Test_EnvVarHandlerSpecialValue (line 122) | func Test_EnvVarHandlerSpecialValue(t *testing.T) { FILE: middleware/etag/config.go type Config (line 8) | type Config struct function configDefault (line 31) | func configDefault(config ...Config) Config { FILE: middleware/etag/etag.go function Generate (line 19) | func Generate(body []byte) []byte { function GenerateWeak (line 35) | func GenerateWeak(body []byte) []byte { function New (line 44) | func New(config ...Config) fiber.Handler { function appendUint (line 120) | func appendUint(dst []byte, n uint32) []byte { FILE: middleware/etag/etag_test.go function Test_ETag_Next (line 16) | func Test_ETag_Next(t *testing.T) { function Test_ETag_SkipError (line 31) | func Test_ETag_SkipError(t *testing.T) { function Test_ETag_NotStatusOK (line 47) | func Test_ETag_NotStatusOK(t *testing.T) { function Test_ETag_NoBody (line 63) | func Test_ETag_NoBody(t *testing.T) { function Test_ETag_NewEtag (line 79) | func Test_ETag_NewEtag(t *testing.T) { function testETagNewEtag (line 95) | func testETagNewEtag(t *testing.T, headerIfNoneMatch, matched bool) { //... function Test_ETag_WeakEtag (line 133) | func Test_ETag_WeakEtag(t *testing.T) { function testETagWeakEtag (line 149) | func testETagWeakEtag(t *testing.T, headerIfNoneMatch, matched bool) { /... function Test_ETag_CustomEtag (line 187) | func Test_ETag_CustomEtag(t *testing.T) { function testETagCustomEtag (line 203) | func testETagCustomEtag(t *testing.T, headerIfNoneMatch, matched bool) {... function Test_ETag_CustomEtagPut (line 245) | func Test_ETag_CustomEtagPut(t *testing.T) { function Benchmark_Etag (line 267) | func Benchmark_Etag(b *testing.B) { FILE: middleware/expvar/config.go type Config (line 8) | type Config struct function configDefault (line 19) | func configDefault(config ...Config) Config { FILE: middleware/expvar/expvar.go function New (line 11) | func New(config ...Config) fiber.Handler { FILE: middleware/expvar/expvar_test.go function Test_Non_Expvar_Path (line 14) | func Test_Non_Expvar_Path(t *testing.T) { function Test_Expvar_Index (line 33) | func Test_Expvar_Index(t *testing.T) { function Test_Expvar_Filter (line 54) | func Test_Expvar_Filter(t *testing.T) { function Test_Expvar_Other_Path (line 75) | func Test_Expvar_Other_Path(t *testing.T) { function Test_Expvar_Next (line 91) | func Test_Expvar_Next(t *testing.T) { FILE: middleware/favicon/config.go type Config (line 10) | type Config struct function configDefault (line 57) | func configDefault(config ...Config) Config { FILE: middleware/favicon/favicon.go constant fPath (line 14) | fPath = "/favicon.ico" constant hType (line 15) | hType = "image/x-icon" constant hAllow (line 16) | hAllow = "GET, HEAD, OPTIONS" constant hZero (line 17) | hZero = "0" function New (line 21) | func New(config ...Config) fiber.Handler { function readLimited (line 103) | func readLimited(reader io.Reader, maxBytes int64) ([]byte, error) { FILE: middleware/favicon/favicon_test.go function Test_Middleware_Favicon (line 17) | func Test_Middleware_Favicon(t *testing.T) { function Test_Middleware_Favicon_Not_Found (line 47) | func Test_Middleware_Favicon_Not_Found(t *testing.T) { function Test_Middleware_Favicon_MaxBytes (line 62) | func Test_Middleware_Favicon_MaxBytes(t *testing.T) { function Test_Middleware_Favicon_MaxBytes_FileSystem (line 82) | func Test_Middleware_Favicon_MaxBytes_FileSystem(t *testing.T) { function Test_Middleware_Favicon_Found (line 103) | func Test_Middleware_Favicon_Found(t *testing.T) { function Test_Custom_Favicon_URL (line 123) | func Test_Custom_Favicon_URL(t *testing.T) { function Test_Custom_Favicon_Data (line 143) | func Test_Custom_Favicon_Data(t *testing.T) { function Test_Middleware_Favicon_FileSystem (line 165) | func Test_Middleware_Favicon_FileSystem(t *testing.T) { function Test_Middleware_Favicon_CacheControl (line 182) | func Test_Middleware_Favicon_CacheControl(t *testing.T) { function Benchmark_Middleware_Favicon (line 199) | func Benchmark_Middleware_Favicon(b *testing.B) { function Test_Favicon_Next (line 217) | func Test_Favicon_Next(t *testing.T) { FILE: middleware/healthcheck/config.go type Config (line 8) | type Config struct constant LivenessEndpoint (line 26) | LivenessEndpoint = "/livez" constant ReadinessEndpoint (line 30) | ReadinessEndpoint = "/readyz" constant StartupEndpoint (line 34) | StartupEndpoint = "/startupz" function defaultProbe (line 37) | func defaultProbe(_ fiber.Ctx) bool { return true } function configDefault (line 45) | func configDefault(config ...Config) Config { FILE: middleware/healthcheck/healthcheck.go function New (line 9) | func New(config ...Config) fiber.Handler { FILE: middleware/healthcheck/healthcheck_test.go function shouldGiveStatus (line 14) | func shouldGiveStatus(t *testing.T, app *fiber.App, path string, expecte... function shouldGiveOK (line 21) | func shouldGiveOK(t *testing.T, app *fiber.App, path string) { function shouldGiveNotFound (line 26) | func shouldGiveNotFound(t *testing.T, app *fiber.App, path string) { function Test_HealthCheck_Strict_Routing_Default (line 31) | func Test_HealthCheck_Strict_Routing_Default(t *testing.T) { function Test_HealthCheck_Default (line 53) | func Test_HealthCheck_Default(t *testing.T) { function Test_HealthCheck_Custom (line 72) | func Test_HealthCheck_Custom(t *testing.T) { function Test_HealthCheck_Custom_Nested (line 121) | func Test_HealthCheck_Custom_Nested(t *testing.T) { function Test_HealthCheck_Next (line 163) | func Test_HealthCheck_Next(t *testing.T) { function Benchmark_HealthCheck (line 185) | func Benchmark_HealthCheck(b *testing.B) { function Benchmark_HealthCheck_Parallel (line 206) | func Benchmark_HealthCheck_Parallel(b *testing.B) { FILE: middleware/helmet/config.go type Config (line 8) | type Config struct function configDefault (line 99) | func configDefault(config ...Config) Config { FILE: middleware/helmet/helmet.go function New (line 10) | func New(config ...Config) fiber.Handler { FILE: middleware/helmet/helmet_test.go function Test_Default (line 13) | func Test_Default(t *testing.T) { function Test_CustomValues_AllHeaders (line 39) | func Test_CustomValues_AllHeaders(t *testing.T) { function Test_RealWorldValues_AllHeaders (line 84) | func Test_RealWorldValues_AllHeaders(t *testing.T) { function Test_Next (line 129) | func Test_Next(t *testing.T) { function Test_ContentSecurityPolicy (line 155) | func Test_ContentSecurityPolicy(t *testing.T) { function Test_ContentSecurityPolicyReportOnly (line 171) | func Test_ContentSecurityPolicyReportOnly(t *testing.T) { function Test_PermissionsPolicy (line 189) | func Test_PermissionsPolicy(t *testing.T) { function Test_HSTSHeaders (line 205) | func Test_HSTSHeaders(t *testing.T) { function Test_HSTSExcludeSubdomainsAndPreload (line 237) | func Test_HSTSExcludeSubdomainsAndPreload(t *testing.T) { FILE: middleware/idempotency/config.go type Config (line 15) | type Config struct function configDefault (line 84) | func configDefault(config ...Config) Config { FILE: middleware/idempotency/idempotency.go type contextKey (line 18) | type contextKey constant localsKeyIsFromCache (line 21) | localsKeyIsFromCache contextKey = iota constant localsKeyWasPutToCache (line 22) | localsKeyWasPutToCache constant redactedKey (line 25) | redactedKey = "[redacted]" function IsFromCache (line 29) | func IsFromCache(c fiber.Ctx) bool { function WasPutToCache (line 35) | func WasPutToCache(c fiber.Ctx) bool { function New (line 45) | func New(config ...Config) fiber.Handler { FILE: middleware/idempotency/idempotency_test.go constant validKey (line 23) | validKey = "00000000-0000-0000-0000-000000000000" function Test_Idempotency (line 26) | func Test_Idempotency(t *testing.T) { function Benchmark_Idempotency (line 135) | func Benchmark_Idempotency(b *testing.B) { function Test_configDefault_defaults (line 175) | func Test_configDefault_defaults(t *testing.T) { function Test_configDefault_override (line 203) | func Test_configDefault_override(t *testing.T) { function do (line 227) | func do(app *fiber.App, req *http.Request) (resp *http.Response, body st... function Test_New_NextSkip (line 239) | func Test_New_NextSkip(t *testing.T) { function Test_New_InvalidKey (line 263) | func Test_New_InvalidKey(t *testing.T) { function Test_New_StorageGetError (line 277) | func Test_New_StorageGetError(t *testing.T) { function Test_New_UnmarshalError (line 292) | func Test_New_UnmarshalError(t *testing.T) { function Test_New_StoreRetrieve_FilterHeaders (line 307) | func Test_New_StoreRetrieve_FilterHeaders(t *testing.T) { function Test_New_SkipCache_WhenBodyTooLarge (line 342) | func Test_New_SkipCache_WhenBodyTooLarge(t *testing.T) { function Test_New_HandlerError (line 384) | func Test_New_HandlerError(t *testing.T) { function Test_New_LockError (line 404) | func Test_New_LockError(t *testing.T) { function Test_New_StorageSetError (line 418) | func Test_New_StorageSetError(t *testing.T) { function Test_New_UnlockError (line 432) | func Test_New_UnlockError(t *testing.T) { function Test_New_SecondPassReadError (line 446) | func Test_New_SecondPassReadError(t *testing.T) { FILE: middleware/idempotency/locker.go type Locker (line 8) | type Locker interface type countedLock (line 13) | type countedLock struct type MemoryLock (line 19) | type MemoryLock struct method Lock (line 25) | func (l *MemoryLock) Lock(key string) error { method Unlock (line 41) | func (l *MemoryLock) Unlock(key string) error { function NewMemoryLock (line 66) | func NewMemoryLock() *MemoryLock { FILE: middleware/idempotency/locker_test.go function Test_MemoryLock (line 16) | func Test_MemoryLock(t *testing.T) { function Benchmark_MemoryLock (line 86) | func Benchmark_MemoryLock(b *testing.B) { function Benchmark_MemoryLock_Parallel (line 105) | func Benchmark_MemoryLock_Parallel(b *testing.B) { FILE: middleware/idempotency/response.go type response (line 9) | type response struct FILE: middleware/idempotency/response_msgp.go method DecodeMsg (line 10) | func (z *response) DecodeMsg(dc *msgp.Reader) (err error) { method EncodeMsg (line 100) | func (z *response) EncodeMsg(en *msgp.Writer) (err error) { method MarshalMsg (line 155) | func (z *response) MarshalMsg(b []byte) (o []byte, err error) { method UnmarshalMsg (line 178) | func (z *response) UnmarshalMsg(bts []byte) (o []byte, err error) { method Msgsize (line 269) | func (z *response) Msgsize() (s int) { FILE: middleware/idempotency/response_msgp_test.go function TestMarshalUnmarshalresponse (line 12) | func TestMarshalUnmarshalresponse(t *testing.T) { function BenchmarkMarshalMsgresponse (line 35) | func BenchmarkMarshalMsgresponse(b *testing.B) { function BenchmarkAppendMsgresponse (line 44) | func BenchmarkAppendMsgresponse(b *testing.B) { function BenchmarkUnmarshalresponse (line 56) | func BenchmarkUnmarshalresponse(b *testing.B) { function TestEncodeDecoderesponse (line 70) | func TestEncodeDecoderesponse(t *testing.T) { function BenchmarkEncoderesponse (line 94) | func BenchmarkEncoderesponse(b *testing.B) { function BenchmarkDecoderesponse (line 108) | func BenchmarkDecoderesponse(b *testing.B) { FILE: middleware/idempotency/stub_test.go type stubLock (line 9) | type stubLock struct method Lock (line 15) | func (s *stubLock) Lock(string) error { method Unlock (line 21) | func (s *stubLock) Unlock(string) error { return s.unlockErr } type stubStorage (line 24) | type stubStorage struct method Get (line 31) | func (s *stubStorage) Get(key string) ([]byte, error) { method GetWithContext (line 41) | func (s *stubStorage) GetWithContext(_ context.Context, key string) ([... method Set (line 46) | func (s *stubStorage) Set(key string, val []byte, _ time.Duration) err... method SetWithContext (line 58) | func (s *stubStorage) SetWithContext(_ context.Context, key string, va... method Delete (line 63) | func (s *stubStorage) Delete(key string) error { method DeleteWithContext (line 70) | func (s *stubStorage) DeleteWithContext(_ context.Context, key string)... method Reset (line 75) | func (s *stubStorage) Reset() error { method ResetWithContext (line 80) | func (s *stubStorage) ResetWithContext(_ context.Context) error { method Close (line 85) | func (*stubStorage) Close() error { return nil } FILE: middleware/keyauth/config.go constant ErrorInvalidRequest (line 13) | ErrorInvalidRequest = "invalid_request" constant ErrorInvalidToken (line 14) | ErrorInvalidToken = "invalid_token" constant ErrorInsufficientScope (line 15) | ErrorInsufficientScope = "insufficient_scope" type Config (line 19) | type Config struct function configDefault (line 102) | func configDefault(config ...Config) Config { function isScopeToken (line 166) | func isScopeToken(s string) bool { FILE: middleware/keyauth/config_test.go function Test_KeyAuth_ConfigDefault_NoConfig (line 14) | func Test_KeyAuth_ConfigDefault_NoConfig(t *testing.T) { function Test_KeyAuth_ConfigDefault_PanicWithoutValidator (line 24) | func Test_KeyAuth_ConfigDefault_PanicWithoutValidator(t *testing.T) { function Test_KeyAuth_ConfigDefault_WithValidator (line 32) | func Test_KeyAuth_ConfigDefault_WithValidator(t *testing.T) { function Test_KeyAuth_ConfigDefault_CustomConfig (line 47) | func Test_KeyAuth_ConfigDefault_CustomConfig(t *testing.T) { FILE: middleware/keyauth/keyauth.go type contextKey (line 15) | type contextKey constant tokenKey (line 19) | tokenKey contextKey = iota function New (line 26) | func New(config ...Config) fiber.Handler { function TokenFromContext (line 99) | func TokenFromContext(ctx any) string { function getAuthSchemes (line 110) | func getAuthSchemes(e extractors.Extractor) []string { FILE: middleware/keyauth/keyauth_test.go constant CorrectKey (line 20) | CorrectKey = "correct-token_123./~+" constant paramExtractorName (line 27) | paramExtractorName = "param" constant formExtractorName (line 28) | formExtractorName = "form" constant queryExtractorName (line 29) | queryExtractorName = "query" constant headerExtractorName (line 30) | headerExtractorName = "header" constant authHeaderExtractorName (line 31) | authHeaderExtractorName = "authHeader" constant cookieExtractorName (line 32) | cookieExtractorName = "cookie" function Test_AuthSources (line 35) | func Test_AuthSources(t *testing.T) { function TestMultipleKeyLookup (line 192) | func TestMultipleKeyLookup(t *testing.T) { function Test_MultipleKeyAuth (line 258) | func Test_MultipleKeyAuth(t *testing.T) { function Test_CustomSuccessAndFailureHandlers (line 389) | func Test_CustomSuccessAndFailureHandlers(t *testing.T) { function Test_CustomNextFunc (line 442) | func Test_CustomNextFunc(t *testing.T) { function Test_TokenFromContext_None (line 507) | func Test_TokenFromContext_None(t *testing.T) { function Test_TokenFromContext (line 526) | func Test_TokenFromContext(t *testing.T) { function Test_TokenFromContext_Types (line 555) | func Test_TokenFromContext_Types(t *testing.T) { function Test_AuthSchemeToken (line 586) | func Test_AuthSchemeToken(t *testing.T) { function Test_AuthSchemeBasic (line 621) | func Test_AuthSchemeBasic(t *testing.T) { function Test_HeaderSchemeCaseInsensitive (line 668) | func Test_HeaderSchemeCaseInsensitive(t *testing.T) { function Test_DefaultErrorHandlerChallenge (line 690) | func Test_DefaultErrorHandlerChallenge(t *testing.T) { function Test_DefaultErrorHandlerInvalid (line 705) | func Test_DefaultErrorHandlerInvalid(t *testing.T) { function Test_HeaderSchemeMultipleSpaces (line 725) | func Test_HeaderSchemeMultipleSpaces(t *testing.T) { function Test_HeaderSchemeMissingSpace (line 747) | func Test_HeaderSchemeMissingSpace(t *testing.T) { function Test_HeaderSchemeNoToken (line 764) | func Test_HeaderSchemeNoToken(t *testing.T) { function Test_HeaderSchemeNoSeparator (line 781) | func Test_HeaderSchemeNoSeparator(t *testing.T) { function Test_HeaderSchemeEmptyTokenAfterTrim (line 800) | func Test_HeaderSchemeEmptyTokenAfterTrim(t *testing.T) { function Test_WWWAuthenticateHeader (line 820) | func Test_WWWAuthenticateHeader(t *testing.T) { function Test_CustomChallenge (line 919) | func Test_CustomChallenge(t *testing.T) { function Test_BearerErrorFields (line 937) | func Test_BearerErrorFields(t *testing.T) { function Test_BearerErrorURIOnly (line 957) | func Test_BearerErrorURIOnly(t *testing.T) { function Test_BearerInsufficientScope (line 976) | func Test_BearerInsufficientScope(t *testing.T) { function Test_ScopeValidation (line 995) | func Test_ScopeValidation(t *testing.T) { function Test_WWWAuthenticateOnlyOn401 (line 1027) | func Test_WWWAuthenticateOnlyOn401(t *testing.T) { function Test_DefaultChallengeForNonAuthExtractor (line 1047) | func Test_DefaultChallengeForNonAuthExtractor(t *testing.T) { function Test_MultipleWWWAuthenticateChallenges (line 1061) | func Test_MultipleWWWAuthenticateChallenges(t *testing.T) { function Test_ProxyAuthenticateHeader (line 1078) | func Test_ProxyAuthenticateHeader(t *testing.T) { function Test_New_InvalidErrorToken (line 1097) | func Test_New_InvalidErrorToken(t *testing.T) { function Test_New_ErrorDescriptionRequiresError (line 1106) | func Test_New_ErrorDescriptionRequiresError(t *testing.T) { function Test_New_ErrorURIRequiresError (line 1115) | func Test_New_ErrorURIRequiresError(t *testing.T) { function Test_New_ErrorURIAbsolute (line 1124) | func Test_New_ErrorURIAbsolute(t *testing.T) { FILE: middleware/limiter/config.go constant defaultLimiterMax (line 9) | defaultLimiterMax = 5 type Config (line 12) | type Config struct function configDefault (line 107) | func configDefault(config ...Config) Config { FILE: middleware/limiter/limiter.go constant xRateLimitLimit (line 11) | xRateLimitLimit = "X-RateLimit-Limit" constant xRateLimitRemaining (line 12) | xRateLimitRemaining = "X-RateLimit-Remaining" constant xRateLimitReset (line 13) | xRateLimitReset = "X-RateLimit-Reset" type Handler (line 18) | type Handler interface function New (line 23) | func New(config ...Config) fiber.Handler { function getEffectiveStatusCode (line 32) | func getEffectiveStatusCode(c fiber.Ctx, err error) int { FILE: middleware/limiter/limiter_fixed.go type FixedWindow (line 13) | type FixedWindow struct method New (line 16) | func (FixedWindow) New(cfg *Config) fiber.Handler { FILE: middleware/limiter/limiter_sliding.go type SlidingWindow (line 15) | type SlidingWindow struct method New (line 18) | func (SlidingWindow) New(cfg *Config) fiber.Handler { function rotateWindow (line 167) | func rotateWindow(e *item, ts, expiration uint64) uint64 { function bucketForOriginalHit (line 191) | func bucketForOriginalHit(e *item, requestExpiration, ts, expiration uin... function ttlDuration (line 203) | func ttlDuration(resetInSec, expiration uint64) time.Duration { function secondsToDuration (line 221) | func secondsToDuration(seconds uint64) (time.Duration, bool) { FILE: middleware/limiter/limiter_test.go type failingLimiterStorage (line 22) | type failingLimiterStorage struct method GetWithContext (line 133) | func (s *failingLimiterStorage) GetWithContext(_ context.Context, key ... method Get (line 143) | func (s *failingLimiterStorage) Get(key string) ([]byte, error) { method SetWithContext (line 147) | func (s *failingLimiterStorage) SetWithContext(_ context.Context, key ... method Set (line 155) | func (s *failingLimiterStorage) Set(key string, val []byte, exp time.D... method DeleteWithContext (line 159) | func (*failingLimiterStorage) DeleteWithContext(context.Context, strin... method Delete (line 161) | func (*failingLimiterStorage) Delete(string) error { return nil } method ResetWithContext (line 163) | func (*failingLimiterStorage) ResetWithContext(context.Context) error ... method Reset (line 165) | func (*failingLimiterStorage) Reset() error { return nil } method Close (line 167) | func (*failingLimiterStorage) Close() error { return nil } constant testLimiterClientKey (line 27) | testLimiterClientKey = "client-key" function newFailingLimiterStorage (line 29) | func newFailingLimiterStorage() *failingLimiterStorage { type countingFailStorage (line 37) | type countingFailStorage struct method SetWithContext (line 52) | func (s *countingFailStorage) SetWithContext(ctx context.Context, key ... function newCountingFailStorage (line 44) | func newCountingFailStorage(failAfterN int, err error) *countingFailStor... type contextRecord (line 60) | type contextRecord struct type contextRecorderLimiterStorage (line 66) | type contextRecorderLimiterStorage struct method GetWithContext (line 111) | func (s *contextRecorderLimiterStorage) GetWithContext(ctx context.Con... method SetWithContext (line 116) | func (s *contextRecorderLimiterStorage) SetWithContext(ctx context.Con... method recordedGets (line 121) | func (s *contextRecorderLimiterStorage) recordedGets() []contextRecord { method recordedSets (line 127) | func (s *contextRecorderLimiterStorage) recordedSets() []contextRecord { function sleepForRetryAfter (line 72) | func sleepForRetryAfter(t *testing.T, resp *http.Response) { function newContextRecorderLimiterStorage (line 96) | func newContextRecorderLimiterStorage() *contextRecorderLimiterStorage { function contextRecordFrom (line 100) | func contextRecordFrom(ctx context.Context, key string) contextRecord { type contextKey (line 169) | type contextKey constant markerKey (line 171) | markerKey contextKey = "marker" function contextWithMarker (line 173) | func contextWithMarker(label string) context.Context { function canceledContextWithMarker (line 177) | func canceledContextWithMarker(label string) context.Context { function TestLimiterDefaultConfigNoPanic (line 183) | func TestLimiterDefaultConfigNoPanic(t *testing.T) { function TestLimiterFixedStorageGetError (line 199) | func TestLimiterFixedStorageGetError(t *testing.T) { function TestLimiterFixedStorageSetError (line 226) | func TestLimiterFixedStorageSetError(t *testing.T) { function TestLimiterFixedPropagatesRequestContextToStorage (line 254) | func TestLimiterFixedPropagatesRequestContextToStorage(t *testing.T) { function TestLimiterFixedStorageGetErrorDisableRedaction (line 320) | func TestLimiterFixedStorageGetErrorDisableRedaction(t *testing.T) { function TestLimiterFixedStorageSetErrorDisableRedaction (line 347) | func TestLimiterFixedStorageSetErrorDisableRedaction(t *testing.T) { function TestLimiterFixedStorageSetErrorOnSkipSuccessfulRequests (line 374) | func TestLimiterFixedStorageSetErrorOnSkipSuccessfulRequests(t *testing.... function TestLimiterSlidingPropagatesRequestContextToStorage (line 405) | func TestLimiterSlidingPropagatesRequestContextToStorage(t *testing.T) { function TestLimiterSlidingSkipsPostUpdateWhenHeadersDisabled (line 471) | func TestLimiterSlidingSkipsPostUpdateWhenHeadersDisabled(t *testing.T) { function Test_Limiter_With_Max_Func_With_Zero_And_Limiter_Sliding (line 498) | func Test_Limiter_With_Max_Func_With_Zero_And_Limiter_Sliding(t *testing... function Test_Limiter_Sliding_MaxFuncOverridesStaticMax (line 536) | func Test_Limiter_Sliding_MaxFuncOverridesStaticMax(t *testing.T) { function Test_Limiter_With_Max_Func_With_Zero (line 572) | func Test_Limiter_With_Max_Func_With_Zero(t *testing.T) { function Test_Limiter_With_Max_Func (line 610) | func Test_Limiter_With_Max_Func(t *testing.T) { function Test_Limiter_Fixed_ExpirationFuncOverridesStaticExpiration (line 655) | func Test_Limiter_Fixed_ExpirationFuncOverridesStaticExpiration(t *testi... function Test_Limiter_Sliding_ExpirationFuncOverridesStaticExpiration (line 690) | func Test_Limiter_Sliding_ExpirationFuncOverridesStaticExpiration(t *tes... function Test_Limiter_Fixed_ExpirationFunc_FallbackOnZeroDuration (line 726) | func Test_Limiter_Fixed_ExpirationFunc_FallbackOnZeroDuration(t *testing... function Test_Limiter_Fixed_ExpirationFunc_FallbackOnNegativeDuration (line 750) | func Test_Limiter_Fixed_ExpirationFunc_FallbackOnNegativeDuration(t *tes... function Test_Limiter_Sliding_ExpirationFunc_FallbackOnZeroDuration (line 774) | func Test_Limiter_Sliding_ExpirationFunc_FallbackOnZeroDuration(t *testi... function Test_Limiter_Sliding_ExpirationFunc_FallbackOnNegativeDuration (line 798) | func Test_Limiter_Sliding_ExpirationFunc_FallbackOnNegativeDuration(t *t... function Test_Limiter_Concurrency_Store (line 822) | func Test_Limiter_Concurrency_Store(t *testing.T) { function Test_Limiter_Concurrency (line 864) | func Test_Limiter_Concurrency(t *testing.T) { function Test_Limiter_Fixed_Window_No_Skip_Choices (line 905) | func Test_Limiter_Fixed_Window_No_Skip_Choices(t *testing.T) { function Test_Limiter_Fixed_Window_Custom_Storage_No_Skip_Choices (line 944) | func Test_Limiter_Fixed_Window_Custom_Storage_No_Skip_Choices(t *testing... function Test_Limiter_Sliding_Window_No_Skip_Choices (line 984) | func Test_Limiter_Sliding_Window_No_Skip_Choices(t *testing.T) { function Test_Limiter_Sliding_Window_Custom_Storage_No_Skip_Choices (line 1023) | func Test_Limiter_Sliding_Window_Custom_Storage_No_Skip_Choices(t *testi... function Test_Limiter_Sliding_Window_RecalculatesAfterHandlerDelay (line 1062) | func Test_Limiter_Sliding_Window_RecalculatesAfterHandlerDelay(t *testin... function Test_Limiter_Sliding_Window_ExpiresStalePrevHits (line 1093) | func Test_Limiter_Sliding_Window_ExpiresStalePrevHits(t *testing.T) { function Test_Limiter_Sliding_Window_SkipFailedRequests_DecrementsPreviousWindow (line 1119) | func Test_Limiter_Sliding_Window_SkipFailedRequests_DecrementsPreviousWi... function Test_Limiter_Fixed_Window_Skip_Failed_Requests (line 1164) | func Test_Limiter_Fixed_Window_Skip_Failed_Requests(t *testing.T) { function Test_Limiter_Fixed_Window_Custom_Storage_Skip_Failed_Requests (line 1202) | func Test_Limiter_Fixed_Window_Custom_Storage_Skip_Failed_Requests(t *te... function Test_Limiter_Sliding_Window_Skip_Failed_Requests (line 1241) | func Test_Limiter_Sliding_Window_Skip_Failed_Requests(t *testing.T) { function Test_Limiter_Sliding_Window_Custom_Storage_Skip_Failed_Requests (line 1279) | func Test_Limiter_Sliding_Window_Custom_Storage_Skip_Failed_Requests(t *... function Test_Limiter_Fixed_Window_Skip_Successful_Requests (line 1318) | func Test_Limiter_Fixed_Window_Skip_Successful_Requests(t *testing.T) { function Test_Limiter_Fixed_Window_Custom_Storage_Skip_Successful_Requests (line 1356) | func Test_Limiter_Fixed_Window_Custom_Storage_Skip_Successful_Requests(t... function Test_Limiter_Sliding_Window_Skip_Successful_Requests (line 1395) | func Test_Limiter_Sliding_Window_Skip_Successful_Requests(t *testing.T) { function Test_Limiter_Sliding_Window_Custom_Storage_Skip_Successful_Requests (line 1433) | func Test_Limiter_Sliding_Window_Custom_Storage_Skip_Successful_Requests... function Benchmark_Limiter_Custom_Store (line 1472) | func Benchmark_Limiter_Custom_Store(b *testing.B) { function Test_Limiter_Bug_NewErrorf_SkipSuccessfulRequests_SlidingWindow (line 1497) | func Test_Limiter_Bug_NewErrorf_SkipSuccessfulRequests_SlidingWindow(t *... function Test_Limiter_Bug_NewErrorf_SkipSuccessfulRequests_FixedWindow (line 1530) | func Test_Limiter_Bug_NewErrorf_SkipSuccessfulRequests_FixedWindow(t *te... function Test_Limiter_Next (line 1563) | func Test_Limiter_Next(t *testing.T) { function Test_Limiter_Headers (line 1577) | func Test_Limiter_Headers(t *testing.T) { function Test_Limiter_Disable_Headers (line 1605) | func Test_Limiter_Disable_Headers(t *testing.T) { function Benchmark_Limiter (line 1647) | func Benchmark_Limiter(b *testing.B) { function Test_Sliding_Window (line 1671) | func Test_Sliding_Window(t *testing.T) { FILE: middleware/limiter/manager.go type item (line 16) | type item struct type manager (line 23) | type manager struct method acquire (line 53) | func (m *manager) acquire() *item { method release (line 58) | func (m *manager) release(e *item) { method get (line 66) | func (m *manager) get(ctx context.Context, key string) (*item, error) { method set (line 97) | func (m *manager) set(ctx context.Context, key string, it *item, exp t... method logKey (line 116) | func (m *manager) logKey(key string) string { constant redactedKey (line 30) | redactedKey = "[redacted]" function newManager (line 32) | func newManager(storage fiber.Storage, redactKeys bool) *manager { FILE: middleware/limiter/manager_msgp.go method DecodeMsg (line 10) | func (z *item) DecodeMsg(dc *msgp.Reader) (err error) { method EncodeMsg (line 57) | func (z item) EncodeMsg(en *msgp.Writer) (err error) { method MarshalMsg (line 93) | func (z item) MarshalMsg(b []byte) (o []byte, err error) { method UnmarshalMsg (line 109) | func (z *item) UnmarshalMsg(bts []byte) (o []byte, err error) { method Msgsize (line 157) | func (z item) Msgsize() (s int) { FILE: middleware/limiter/manager_msgp_test.go function TestMarshalUnmarshalitem (line 12) | func TestMarshalUnmarshalitem(t *testing.T) { function BenchmarkMarshalMsgitem (line 35) | func BenchmarkMarshalMsgitem(b *testing.B) { function BenchmarkAppendMsgitem (line 43) | func BenchmarkAppendMsgitem(b *testing.B) { function BenchmarkUnmarshalitem (line 54) | func BenchmarkUnmarshalitem(b *testing.B) { function TestEncodeDecodeitem (line 67) | func TestEncodeDecodeitem(t *testing.T) { function BenchmarkEncodeitem (line 91) | func BenchmarkEncodeitem(b *testing.B) { function BenchmarkDecodeitem (line 104) | func BenchmarkDecodeitem(b *testing.B) { FILE: middleware/logger/config.go type Config (line 12) | type Config struct constant startTag (line 102) | startTag = "${" constant endTag (line 103) | endTag = "}" constant paramSeparator (line 104) | paramSeparator = ":" type Buffer (line 108) | type Buffer interface type LogFunc (line 122) | type LogFunc function configDefault (line 140) | func configDefault(config ...Config) Config { FILE: middleware/logger/data.go type Data (line 9) | type Data struct FILE: middleware/logger/default_logger.go function defaultLoggerInstance (line 17) | func defaultLoggerInstance(c fiber.Ctx, data *Data, cfg *Config) error { function beforeHandlerFunc (line 153) | func beforeHandlerFunc(cfg *Config) { function appendInt (line 167) | func appendInt(output Buffer, v int) (int, error) { function writeLog (line 174) | func writeLog(w io.Writer, msg []byte) { FILE: middleware/logger/format.go constant DefaultFormat (line 5) | DefaultFormat = "[${time}] ${ip} ${status} - ${latency} ${method} ${path... constant CommonFormat (line 7) | CommonFormat = "${ip} - - [${time}] \"${method} ${url} ${protocol}\" ${s... constant CombinedFormat (line 9) | CombinedFormat = "${ip} - - [${time}] \"${method} ${url} ${protocol}\" $... constant JSONFormat (line 11) | JSONFormat = "{\"time\":\"${time}\",\"ip\":\"${ip}\",\"method\":\"${meth... constant ECSFormat (line 13) | ECSFormat = "{\"@timestamp\":\"${time}\",\"ecs\":{\"version\":\"1.6.0\"}... FILE: middleware/logger/logger.go function New (line 15) | func New(config ...Config) fiber.Handler { FILE: middleware/logger/logger_test.go constant pathFooBar (line 31) | pathFooBar = "/?foo=bar" constant httpProto (line 32) | httpProto = "HTTP/1.1" function benchmarkSetup (line 35) | func benchmarkSetup(b *testing.B, app *fiber.App, uri string) { function benchmarkSetupParallel (line 51) | func benchmarkSetupParallel(b *testing.B, app *fiber.App, path string) { function Test_Logger (line 71) | func Test_Logger(t *testing.T) { function Test_Logger_locals (line 94) | func Test_Logger_locals(t *testing.T) { function Test_Logger_Next (line 141) | func Test_Logger_Next(t *testing.T) { function Test_Logger_Done (line 157) | func Test_Logger_Done(t *testing.T) { function Test_Logger_Filter (line 182) | func Test_Logger_Filter(t *testing.T) { function Test_Logger_ErrorTimeZone (line 322) | func Test_Logger_ErrorTimeZone(t *testing.T) { function Test_Logger_LoggerToWriter (line 336) | func Test_Logger_LoggerToWriter(t *testing.T) { type fakeErrorOutput (line 410) | type fakeErrorOutput method Write (line 412) | func (o *fakeErrorOutput) Write([]byte) (int, error) { function Test_Logger_ErrorOutput_WithoutColor (line 418) | func Test_Logger_ErrorOutput_WithoutColor(t *testing.T) { function Test_Logger_ErrorOutput (line 435) | func Test_Logger_ErrorOutput(t *testing.T) { function Test_Logger_All (line 451) | func Test_Logger_All(t *testing.T) { function Test_Logger_CLF_Format (line 474) | func Test_Logger_CLF_Format(t *testing.T) { function Test_Logger_Combined_CLF_Format (line 497) | func Test_Logger_Combined_CLF_Format(t *testing.T) { function Test_Logger_Json_Format (line 526) | func Test_Logger_Json_Format(t *testing.T) { function Test_Logger_ECS_Format (line 551) | func Test_Logger_ECS_Format(t *testing.T) { function getLatencyTimeUnits (line 577) | func getLatencyTimeUnits() []struct { function Test_Logger_WithLatency (line 603) | func Test_Logger_WithLatency(t *testing.T) { function Test_Logger_WithLatency_DefaultFormat (line 648) | func Test_Logger_WithLatency_DefaultFormat(t *testing.T) { function Test_Query_Params (line 695) | func Test_Query_Params(t *testing.T) { function Test_Response_Body (line 716) | func Test_Response_Body(t *testing.T) { function Test_Request_Body (line 751) | func Test_Request_Body(t *testing.T) { function Test_Logger_AppendUint (line 778) | func Test_Logger_AppendUint(t *testing.T) { function Test_Logger_Data_Race (line 812) | func Test_Logger_Data_Race(t *testing.T) { function Test_Response_Header (line 846) | func Test_Response_Header(t *testing.T) { function Test_Req_Header (line 874) | func Test_Req_Header(t *testing.T) { function Test_ReqHeader_Header (line 898) | func Test_ReqHeader_Header(t *testing.T) { function Test_CustomTags (line 922) | func Test_CustomTags(t *testing.T) { function Test_Logger_ByteSent_Streaming (line 953) | func Test_Logger_ByteSent_Streaming(t *testing.T) { type fakeOutput (line 994) | type fakeOutput method Write (line 996) | func (o *fakeOutput) Write(b []byte) (int, error) { function Test_Logger_EnableColors (line 1002) | func Test_Logger_EnableColors(t *testing.T) { function Test_Logger_ForceColors (line 1018) | func Test_Logger_ForceColors(t *testing.T) { function Benchmark_Logger (line 1044) | func Benchmark_Logger(b *testing.B) { function Benchmark_Logger_Parallel (line 1224) | func Benchmark_Logger_Parallel(b *testing.B) { FILE: middleware/logger/tags.go constant TagPid (line 13) | TagPid = "pid" constant TagTime (line 14) | TagTime = "time" constant TagReferer (line 15) | TagReferer = "referer" constant TagProtocol (line 16) | TagProtocol = "protocol" constant TagScheme (line 17) | TagScheme = "scheme" constant TagPort (line 18) | TagPort = "port" constant TagIP (line 19) | TagIP = "ip" constant TagIPs (line 20) | TagIPs = "ips" constant TagHost (line 21) | TagHost = "host" constant TagMethod (line 22) | TagMethod = "method" constant TagPath (line 23) | TagPath = "path" constant TagURL (line 24) | TagURL = "url" constant TagUA (line 25) | TagUA = "ua" constant TagLatency (line 26) | TagLatency = "latency" constant TagStatus (line 27) | TagStatus = "status" constant TagResBody (line 28) | TagResBody = "resBody" constant TagReqHeaders (line 29) | TagReqHeaders = "reqHeaders" constant TagQueryStringParams (line 30) | TagQueryStringParams = "queryParams" constant TagBody (line 31) | TagBody = "body" constant TagBytesSent (line 32) | TagBytesSent = "bytesSent" constant TagBytesReceived (line 33) | TagBytesReceived = "bytesReceived" constant TagRoute (line 34) | TagRoute = "route" constant TagError (line 35) | TagError = "error" constant TagReqHeader (line 36) | TagReqHeader = "reqHeader:" constant TagRespHeader (line 37) | TagRespHeader = "respHeader:" constant TagLocals (line 38) | TagLocals = "locals:" constant TagQuery (line 39) | TagQuery = "query:" constant TagForm (line 40) | TagForm = "form:" constant TagCookie (line 41) | TagCookie = "cookie:" constant TagBlack (line 42) | TagBlack = "black" constant TagRed (line 43) | TagRed = "red" constant TagGreen (line 44) | TagGreen = "green" constant TagYellow (line 45) | TagYellow = "yellow" constant TagBlue (line 46) | TagBlue = "blue" constant TagMagenta (line 47) | TagMagenta = "magenta" constant TagCyan (line 48) | TagCyan = "cyan" constant TagWhite (line 49) | TagWhite = "white" constant TagReset (line 50) | TagReset = "reset" function createTagMap (line 54) | func createTagMap(cfg *Config) map[string]LogFunc { FILE: middleware/logger/template_chain.go function buildLogFuncChain (line 17) | func buildLogFuncChain(cfg *Config, tagFunctions map[string]LogFunc) ([]... FILE: middleware/logger/utils.go function methodColor (line 11) | func methodColor(method string, colors *fiber.Colors) string { function statusColor (line 35) | func statusColor(code int, colors *fiber.Colors) string { type customLoggerWriter (line 51) | type customLoggerWriter struct method Write (line 57) | func (cl *customLoggerWriter[T]) Write(p []byte) (int, error) { function LoggerToWriter (line 80) | func LoggerToWriter[T any](logger fiberlog.AllLogger[T], level fiberlog.... FILE: middleware/paginate/config.go type Config (line 10) | type Config struct function configDefault (line 83) | func configDefault(config ...Config) Config { FILE: middleware/paginate/page_info.go type SortOrder (line 17) | type SortOrder constant ASC (line 20) | ASC SortOrder = "asc" constant DESC (line 21) | DESC SortOrder = "desc" type SortField (line 25) | type SortField struct function SortOrderFromString (line 31) | func SortOrderFromString(s string) SortOrder { type PageInfo (line 39) | type PageInfo struct method Start (line 63) | func (p *PageInfo) Start() int { method SortBy (line 74) | func (p *PageInfo) SortBy(field string, order SortOrder) *PageInfo { method NextPageURLWithKeys (line 80) | func (p *PageInfo) NextPageURLWithKeys(baseURL, pageKey, limitKey stri... method NextPageURL (line 85) | func (p *PageInfo) NextPageURL(baseURL string) string { method PreviousPageURLWithKeys (line 91) | func (p *PageInfo) PreviousPageURLWithKeys(baseURL, pageKey, limitKey ... method PreviousPageURL (line 100) | func (p *PageInfo) PreviousPageURL(baseURL string) string { method NextCursorURLWithKeys (line 106) | func (p *PageInfo) NextCursorURLWithKeys(baseURL, cursorKey, limitKey ... method NextCursorURL (line 115) | func (p *PageInfo) NextCursorURL(baseURL string) string { method CursorValues (line 137) | func (p *PageInfo) CursorValues() map[string]any { method SetNextCursor (line 171) | func (p *PageInfo) SetNextCursor(values map[string]any) error { function NewPageInfo (line 53) | func NewPageInfo(page, limit, offset int, sort []SortField) *PageInfo { function buildPaginationURL (line 121) | func buildPaginationURL(baseURL, pageParam, pageValue, limitParam, limit... FILE: middleware/paginate/paginate.go type contextKey (line 14) | type contextKey constant pageInfoKey (line 17) | pageInfoKey contextKey = iota constant DefaultMaxLimit (line 21) | DefaultMaxLimit = 100 constant maxCursorLen (line 24) | maxCursorLen = 2048 function New (line 27) | func New(config ...Config) fiber.Handler { function FromContext (line 92) | func FromContext(ctx any) (*PageInfo, bool) { function parseSortQuery (line 96) | func parseSortQuery(query string, allowedSorts []string, defaultSort str... FILE: middleware/paginate/paginate_test.go type paginateResponse (line 15) | type paginateResponse struct type cursorResponse (line 25) | type cursorResponse struct function Test_ConfigDefault (line 35) | func Test_ConfigDefault(t *testing.T) { function Test_ConfigOverride (line 46) | func Test_ConfigOverride(t *testing.T) { function Test_ConfigDefaultCursorKey (line 61) | func Test_ConfigDefaultCursorKey(t *testing.T) { function Test_ConfigOverrideCursorKey (line 68) | func Test_ConfigOverrideCursorKey(t *testing.T) { function Test_ConfigNegativeDefaults (line 79) | func Test_ConfigNegativeDefaults(t *testing.T) { function Test_SortOrderFromString (line 92) | func Test_SortOrderFromString(t *testing.T) { function Test_PageInfoStart (line 115) | func Test_PageInfoStart(t *testing.T) { function Test_PageInfoSortBy (line 137) | func Test_PageInfoSortBy(t *testing.T) { function Test_PageInfoNextPageURL (line 150) | func Test_PageInfoNextPageURL(t *testing.T) { function Test_PageInfoPreviousPageURL (line 181) | func Test_PageInfoPreviousPageURL(t *testing.T) { function Test_PageInfoStartCursorMode (line 212) | func Test_PageInfoStartCursorMode(t *testing.T) { function Test_PageInfoNextPageURLWithExistingQueryParams (line 220) | func Test_PageInfoNextPageURLWithExistingQueryParams(t *testing.T) { function Test_PageInfoPreviousPageURLWithExistingQueryParams (line 230) | func Test_PageInfoPreviousPageURLWithExistingQueryParams(t *testing.T) { function Test_PageInfoCursorFields (line 240) | func Test_PageInfoCursorFields(t *testing.T) { function Test_CursorValuesRoundTrip (line 254) | func Test_CursorValuesRoundTrip(t *testing.T) { function Test_CursorValuesEmptyCursor (line 276) | func Test_CursorValuesEmptyCursor(t *testing.T) { function Test_CursorValuesInvalidBase64 (line 283) | func Test_CursorValuesInvalidBase64(t *testing.T) { function Test_CursorValuesInvalidJSON (line 290) | func Test_CursorValuesInvalidJSON(t *testing.T) { function Test_NextCursorURL (line 297) | func Test_NextCursorURL(t *testing.T) { function Test_SetNextCursorSetsFields (line 317) | func Test_SetNextCursorSetsFields(t *testing.T) { function Test_PaginateWithQueries (line 328) | func Test_PaginateWithQueries(t *testing.T) { function Test_PaginateWithOffset (line 370) | func Test_PaginateWithOffset(t *testing.T) { function Test_PaginateCheckDefaultsWhenNoQueries (line 403) | func Test_PaginateCheckDefaultsWhenNoQueries(t *testing.T) { function Test_PaginateCheckDefaultsWhenNoPage (line 437) | func Test_PaginateCheckDefaultsWhenNoPage(t *testing.T) { function Test_PaginateCheckDefaultsWhenNoLimit (line 466) | func Test_PaginateCheckDefaultsWhenNoLimit(t *testing.T) { function Test_PaginateConfigDefaultPageDefaultLimit (line 495) | func Test_PaginateConfigDefaultPageDefaultLimit(t *testing.T) { function Test_PaginateConfigPageKeyLimitKey (line 530) | func Test_PaginateConfigPageKeyLimitKey(t *testing.T) { function Test_PaginateNegativeDefaultPageDefaultLimitValues (line 564) | func Test_PaginateNegativeDefaultPageDefaultLimitValues(t *testing.T) { function Test_PaginateFromContextWithoutNew (line 597) | func Test_PaginateFromContextWithoutNew(t *testing.T) { function Test_PaginateNextSkip (line 615) | func Test_PaginateNextSkip(t *testing.T) { function Test_PaginateEdgeCases (line 638) | func Test_PaginateEdgeCases(t *testing.T) { function Test_PaginateWithMultipleSorting (line 684) | func Test_PaginateWithMultipleSorting(t *testing.T) { function Test_ParseSortQuery (line 729) | func Test_ParseSortQuery(t *testing.T) { function Test_PaginateWithCursor (line 818) | func Test_PaginateWithCursor(t *testing.T) { function Test_PaginateCursorPriorityOverPage (line 851) | func Test_PaginateCursorPriorityOverPage(t *testing.T) { function Test_PaginateEmptyCursorIsFirstPage (line 877) | func Test_PaginateEmptyCursorIsFirstPage(t *testing.T) { function Test_PaginateInvalidCursorReturns400 (line 900) | func Test_PaginateInvalidCursorReturns400(t *testing.T) { function Test_PaginateCursorWithSort (line 930) | func Test_PaginateCursorWithSort(t *testing.T) { function Test_PaginateCursorWithCustomKey (line 962) | func Test_PaginateCursorWithCustomKey(t *testing.T) { function Test_PaginateCursorWithParamAlias (line 993) | func Test_PaginateCursorWithParamAlias(t *testing.T) { function Test_PaginateNoCursorFallsBackToPageMode (line 1023) | func Test_PaginateNoCursorFallsBackToPageMode(t *testing.T) { function Test_NextPageURLWithKeys (line 1053) | func Test_NextPageURLWithKeys(t *testing.T) { function Test_PreviousPageURLWithKeys (line 1061) | func Test_PreviousPageURLWithKeys(t *testing.T) { function Test_NextCursorURLWithKeys (line 1079) | func Test_NextCursorURLWithKeys(t *testing.T) { function Test_PaginateCustomMaxLimit (line 1100) | func Test_PaginateCustomMaxLimit(t *testing.T) { function Test_ConfigDefaultMaxLimitNormalization (line 1142) | func Test_ConfigDefaultMaxLimitNormalization(t *testing.T) { function Benchmark_PaginateMiddleware (line 1154) | func Benchmark_PaginateMiddleware(b *testing.B) { function Benchmark_PaginateMiddlewareWithCustomConfig (line 1175) | func Benchmark_PaginateMiddlewareWithCustomConfig(b *testing.B) { function Benchmark_PaginateCursorMiddleware (line 1204) | func Benchmark_PaginateCursorMiddleware(b *testing.B) { FILE: middleware/pprof/config.go type Config (line 8) | type Config struct function configDefault (line 27) | func configDefault(config ...Config) Config { FILE: middleware/pprof/pprof.go function New (line 14) | func New(config ...Config) fiber.Handler { FILE: middleware/pprof/pprof_test.go function Test_Non_Pprof_Path (line 20) | func Test_Non_Pprof_Path(t *testing.T) { function Test_Non_Pprof_Path_WithPrefix (line 38) | func Test_Non_Pprof_Path_WithPrefix(t *testing.T) { function Test_Pprof_Index (line 56) | func Test_Pprof_Index(t *testing.T) { function Test_Pprof_Index_WithPrefix (line 75) | func Test_Pprof_Index_WithPrefix(t *testing.T) { function Test_Pprof_Subs (line 94) | func Test_Pprof_Subs(t *testing.T) { function Test_Pprof_Subs_WithPrefix (line 121) | func Test_Pprof_Subs_WithPrefix(t *testing.T) { function Test_Pprof_Other (line 148) | func Test_Pprof_Other(t *testing.T) { function Test_Pprof_Other_WithPrefix (line 162) | func Test_Pprof_Other_WithPrefix(t *testing.T) { function Test_Pprof_Next (line 177) | func Test_Pprof_Next(t *testing.T) { function Test_Pprof_Next_WithPrefix (line 192) | func Test_Pprof_Next_WithPrefix(t *testing.T) { FILE: middleware/proxy/config.go type Config (line 12) | type Config struct function configDefault (line 82) | func configDefault(config ...Config) Config { FILE: middleware/proxy/proxy.go function Balancer (line 19) | func Balancer(config ...Config) fiber.Handler { function WithClient (line 126) | func WithClient(cli *fasthttp.Client) { function Forward (line 138) | func Forward(addr string, clients ...*fasthttp.Client) fiber.Handler { function Do (line 146) | func Do(c fiber.Ctx, addr string, clients ...*fasthttp.Client) error { function DoRedirects (line 155) | func DoRedirects(c fiber.Ctx, addr string, maxRedirectsCount int, client... function DoDeadline (line 163) | func DoDeadline(c fiber.Ctx, addr string, deadline time.Time, clients ..... function DoTimeout (line 171) | func DoTimeout(c fiber.Ctx, addr string, timeout time.Duration, clients ... function doAction (line 177) | func doAction( function selectClient (line 213) | func selectClient(globalClient *fasthttp.Client, clients ...*fasthttp.Cl... function getScheme (line 229) | func getScheme(uri []byte) []byte { function DomainForward (line 239) | func DomainForward(hostname, addr string, clients ...*fasthttp.Client) f... type roundrobin (line 249) | type roundrobin struct method get (line 257) | func (r *roundrobin) get() string { function BalancerForward (line 272) | func BalancerForward(servers []string, clients ...*fasthttp.Client) fibe... FILE: middleware/proxy/proxy_test.go function startServer (line 22) | func startServer(app *fiber.App, ln net.Listener) { function createProxyTestServer (line 33) | func createProxyTestServer(t *testing.T, handler fiber.Handler, network,... function createProxyTestServerIPv4 (line 49) | func createProxyTestServerIPv4(t *testing.T, handler fiber.Handler) (tar... function createProxyTestServerIPv6 (line 54) | func createProxyTestServerIPv6(t *testing.T, handler fiber.Handler) (tar... function createRedirectServer (line 59) | func createRedirectServer(t *testing.T) string { function Test_Proxy_Empty_Upstream_Servers (line 85) | func Test_Proxy_Empty_Upstream_Servers(t *testing.T) { function Test_Proxy_Empty_Config (line 100) | func Test_Proxy_Empty_Config(t *testing.T) { function Test_Proxy_Next (line 115) | func Test_Proxy_Next(t *testing.T) { function Test_Proxy (line 132) | func Test_Proxy(t *testing.T) { function Test_Proxy_Balancer_WithTlsConfig (line 158) | func Test_Proxy_Balancer_WithTlsConfig(t *testing.T) { function Test_Proxy_Balancer_IPv6_Upstream (line 197) | func Test_Proxy_Balancer_IPv6_Upstream(t *testing.T) { function Test_Proxy_Balancer_IPv6_Upstream_With_DialDualStack (line 223) | func Test_Proxy_Balancer_IPv6_Upstream_With_DialDualStack(t *testing.T) { function Test_Proxy_Balancer_IPv4_Upstream_With_DialDualStack (line 252) | func Test_Proxy_Balancer_IPv4_Upstream_With_DialDualStack(t *testing.T) { function Test_Proxy_Forward_WithTlsConfig_To_Http (line 281) | func Test_Proxy_Forward_WithTlsConfig_To_Http(t *testing.T) { function Test_Proxy_Forward (line 313) | func Test_Proxy_Forward(t *testing.T) { function Test_Proxy_Forward_WithClient_TLSConfig (line 334) | func Test_Proxy_Forward_WithClient_TLSConfig(t *testing.T) { function Test_Proxy_Modify_Response (line 373) | func Test_Proxy_Modify_Response(t *testing.T) { function Test_Proxy_Modify_Request (line 399) | func Test_Proxy_Modify_Request(t *testing.T) { function Test_Proxy_Timeout_Slow_Server (line 426) | func Test_Proxy_Timeout_Slow_Server(t *testing.T) { function Test_Proxy_With_Timeout (line 453) | func Test_Proxy_With_Timeout(t *testing.T) { function Test_Proxy_Buffer_Size_Response (line 480) | func Test_Proxy_Buffer_Size_Response(t *testing.T) { function Test_Proxy_Do_RestoreOriginalURL (line 508) | func Test_Proxy_Do_RestoreOriginalURL(t *testing.T) { function Test_Proxy_Do_WithRealURL (line 528) | func Test_Proxy_Do_WithRealURL(t *testing.T) { function Test_Proxy_Do_WithRedirect (line 553) | func Test_Proxy_Do_WithRedirect(t *testing.T) { function Test_Proxy_DoRedirects_RestoreOriginalURL (line 574) | func Test_Proxy_DoRedirects_RestoreOriginalURL(t *testing.T) { function Test_Proxy_DoRedirects_TooManyRedirects (line 596) | func Test_Proxy_DoRedirects_TooManyRedirects(t *testing.T) { function Test_Proxy_DoTimeout_RestoreOriginalURL (line 618) | func Test_Proxy_DoTimeout_RestoreOriginalURL(t *testing.T) { function Test_Proxy_DoTimeout_Timeout (line 643) | func Test_Proxy_DoTimeout_Timeout(t *testing.T) { function Test_Proxy_DoDeadline_RestoreOriginalURL (line 668) | func Test_Proxy_DoDeadline_RestoreOriginalURL(t *testing.T) { function Test_Proxy_DoDeadline_PastDeadline (line 690) | func Test_Proxy_DoDeadline_PastDeadline(t *testing.T) { function Test_Proxy_Do_HTTP_Prefix_URL (line 709) | func Test_Proxy_Do_HTTP_Prefix_URL(t *testing.T) { function Test_Proxy_Forward_Global_Client (line 737) | func Test_Proxy_Forward_Global_Client(t *testing.T) { function Test_Proxy_Forward_Local_Client (line 763) | func Test_Proxy_Forward_Local_Client(t *testing.T) { function Test_Proxy_WithClient_Nil_Panics (line 790) | func Test_Proxy_WithClient_Nil_Panics(t *testing.T) { function Test_Proxy_Do_NilClientOverride (line 799) | func Test_Proxy_Do_NilClientOverride(t *testing.T) { function Test_Proxy_Do_NonNilClientOverride (line 821) | func Test_Proxy_Do_NonNilClientOverride(t *testing.T) { function Test_Proxy_SelectClient_NilGlobal (line 849) | func Test_Proxy_SelectClient_NilGlobal(t *testing.T) { function Test_Proxy_NilClientOverride_AcrossHelpers (line 858) | func Test_Proxy_NilClientOverride_AcrossHelpers(t *testing.T) { function Test_ProxyBalancer_Custom_Client (line 896) | func Test_ProxyBalancer_Custom_Client(t *testing.T) { function Test_Proxy_Domain_Forward_Local (line 931) | func Test_Proxy_Domain_Forward_Local(t *testing.T) { function Test_Proxy_Balancer_Forward_Local (line 967) | func Test_Proxy_Balancer_Forward_Local(t *testing.T) { function Test_Proxy_Immutable (line 988) | func Test_Proxy_Immutable(t *testing.T) { function Test_Proxy_KeepConnectionHeader (line 1013) | func Test_Proxy_KeepConnectionHeader(t *testing.T) { function Test_Proxy_DropConnectionHeader (line 1033) | func Test_Proxy_DropConnectionHeader(t *testing.T) { FILE: middleware/recover/config.go type Config (line 8) | type Config struct function configDefault (line 39) | func configDefault(config ...Config) Config { FILE: middleware/recover/recover.go function defaultStackTraceHandler (line 11) | func defaultStackTraceHandler(_ fiber.Ctx, e any) { function DefaultPanicHandler (line 16) | func DefaultPanicHandler(_ fiber.Ctx, r any) error { function New (line 24) | func New(config ...Config) fiber.Handler { FILE: middleware/recover/recover_test.go function Test_Recover (line 15) | func Test_Recover(t *testing.T) { function Test_Recover_Next (line 78) | func Test_Recover_Next(t *testing.T) { function Test_Recover_EnableStackTrace (line 92) | func Test_Recover_EnableStackTrace(t *testing.T) { FILE: middleware/redirect/config.go type Config (line 10) | type Config struct function configDefault (line 38) | func configDefault(config ...Config) Config { FILE: middleware/redirect/redirect.go function New (line 13) | func New(config ...Config) fiber.Handler { function captureTokens (line 46) | func captureTokens(pattern *regexp.Regexp, input string) *strings.Replac... FILE: middleware/redirect/redirect_test.go function Test_Redirect (line 12) | func Test_Redirect(t *testing.T) { function Test_Next (line 133) | func Test_Next(t *testing.T) { function Test_NoRules (line 178) | func Test_NoRules(t *testing.T) { function Test_DefaultConfig (line 210) | func Test_DefaultConfig(t *testing.T) { function Test_RegexRules (line 239) | func Test_RegexRules(t *testing.T) { FILE: middleware/requestid/config.go type Config (line 9) | type Config struct function configDefault (line 35) | func configDefault(config ...Config) Config { FILE: middleware/requestid/requestid.go type contextKey (line 10) | type contextKey constant requestIDKey (line 14) | requestIDKey contextKey = iota function New (line 18) | func New(config ...Config) fiber.Handler { function sanitizeRequestID (line 43) | func sanitizeRequestID(rid string, generator func() string) string { function isValidRequestID (line 61) | func isValidRequestID(rid string) bool { function FromContext (line 79) | func FromContext(ctx any) string { FILE: middleware/requestid/requestid_test.go function Test_RequestID (line 13) | func Test_RequestID(t *testing.T) { function Test_RequestID_InvalidHeaderValue (line 39) | func Test_RequestID_InvalidHeaderValue(t *testing.T) { function Test_RequestID_InvalidGeneratedValue (line 49) | func Test_RequestID_InvalidGeneratedValue(t *testing.T) { function Test_RequestID_GeneratorAlwaysInvalid (line 74) | func Test_RequestID_GeneratorAlwaysInvalid(t *testing.T) { function Test_RequestID_CustomGenerator (line 97) | func Test_RequestID_CustomGenerator(t *testing.T) { function Test_isValidRequestID_VisibleASCII (line 119) | func Test_isValidRequestID_VisibleASCII(t *testing.T) { function Test_isValidRequestID_Boundaries (line 125) | func Test_isValidRequestID_Boundaries(t *testing.T) { function Test_isValidRequestID_RejectsObsText (line 148) | func Test_isValidRequestID_RejectsObsText(t *testing.T) { function Test_RequestID_Next (line 155) | func Test_RequestID_Next(t *testing.T) { function Test_RequestID_FromContext (line 171) | func Test_RequestID_FromContext(t *testing.T) { function Test_RequestID_FromContext_Empty (line 194) | func Test_RequestID_FromContext_Empty(t *testing.T) { function Test_RequestID_FromContext_Types (line 210) | func Test_RequestID_FromContext_Types(t *testing.T) { FILE: middleware/responsetime/config.go type Config (line 8) | type Config struct function configDefault (line 27) | func configDefault(config ...Config) Config { FILE: middleware/responsetime/responsetime.go function New (line 10) | func New(config ...Config) fiber.Handler { FILE: middleware/responsetime/responsetime_test.go function TestResponseTimeMiddleware (line 14) | func TestResponseTimeMiddleware(t *testing.T) { FILE: middleware/rewrite/config.go type Config (line 10) | type Config struct function configDefault (line 28) | func configDefault(config ...Config) Config { FILE: middleware/rewrite/rewrite.go function New (line 12) | func New(config ...Config) fiber.Handler { function captureTokens (line 41) | func captureTokens(pattern *regexp.Regexp, input string) *strings.Replac... FILE: middleware/rewrite/rewrite_test.go function Test_New (line 15) | func Test_New(t *testing.T) { function Test_Rewrite (line 49) | func Test_Rewrite(t *testing.T) { function Benchmark_Rewrite (line 175) | func Benchmark_Rewrite(b *testing.B) { function Benchmark_Rewrite_Parallel (line 273) | func Benchmark_Rewrite_Parallel(b *testing.B) { FILE: middleware/session/config.go type Config (line 13) | type Config struct function DefaultErrorHandler (line 109) | func DefaultErrorHandler(c fiber.Ctx, err error) { function configDefault (line 131) | func configDefault(config ...Config) Config { FILE: middleware/session/config_test.go function TestConfigDefault (line 13) | func TestConfigDefault(t *testing.T) { function TestConfigDefaultWithCustomConfig (line 23) | func TestConfigDefaultWithCustomConfig(t *testing.T) { function TestDefaultErrorHandler (line 37) | func TestDefaultErrorHandler(t *testing.T) { function TestAbsoluteTimeoutValidation (line 49) | func TestAbsoluteTimeoutValidation(t *testing.T) { FILE: middleware/session/data.go type data (line 12) | type data struct method Reset (line 47) | func (d *data) Reset() { method Get (line 64) | func (d *data) Get(key any) any { method Set (line 79) | func (d *data) Set(key, value any) { method Delete (line 93) | func (d *data) Delete(key any) { method Keys (line 107) | func (d *data) Keys() []any { method Len (line 125) | func (d *data) Len() int { function acquireData (line 33) | func acquireData() *data { FILE: middleware/session/data_test.go function TestKeys (line 11) | func TestKeys(t *testing.T) { function TestData_Len (line 82) | func TestData_Len(t *testing.T) { function TestData_Get (line 149) | func TestData_Get(t *testing.T) { function TestData_Reset (line 176) | func TestData_Reset(t *testing.T) { function mapPointer (line 192) | func mapPointer(m map[any]any) uintptr { function lockedMapPointer (line 196) | func lockedMapPointer(d *data) uintptr { function requireDataEmpty (line 202) | func requireDataEmpty(t *testing.T, d *data, msg string) { function TestData_ResetPreservesAllocation (line 209) | func TestData_ResetPreservesAllocation(t *testing.T) { function TestData_PoolReuseDoesNotLeakEntries (line 234) | func TestData_PoolReuseDoesNotLeakEntries(t *testing.T) { function TestData_Delete (line 283) | func TestData_Delete(t *testing.T) { FILE: middleware/session/middleware.go type Middleware (line 13) | type Middleware struct method initialize (line 111) | func (m *Middleware) initialize(c fiber.Ctx, cfg *Config) { method saveSession (line 128) | func (m *Middleware) saveSession() { method Set (line 196) | func (m *Middleware) Set(key, value any) { method Get (line 214) | func (m *Middleware) Get(key any) any { method Delete (line 229) | func (m *Middleware) Delete(key any) { method Keys (line 244) | func (m *Middleware) Keys() []any { method Destroy (line 259) | func (m *Middleware) Destroy() error { method Fresh (line 276) | func (m *Middleware) Fresh() bool { method ID (line 288) | func (m *Middleware) ID() string { method Reset (line 300) | func (m *Middleware) Reset() error { method Regenerate (line 318) | func (m *Middleware) Regenerate() error { method Store (line 333) | func (m *Middleware) Store() *Store { type middlewareKey (line 22) | type middlewareKey constant middlewareContextKey (line 26) | middlewareContextKey middlewareKey = iota function New (line 56) | func New(config ...Config) fiber.Handler { function NewWithStore (line 77) | func NewWithStore(config ...Config) (fiber.Handler, *Store) { function acquireMiddleware (line 141) | func acquireMiddleware() *Middleware { function releaseMiddleware (line 157) | func releaseMiddleware(m *Middleware) { function FromContext (line 179) | func FromContext(ctx any) *Middleware { FILE: middleware/session/middleware_test.go function Test_Session_Middleware (line 20) | func Test_Session_Middleware(t *testing.T) { function Test_Session_NewWithStore (line 332) | func Test_Session_NewWithStore(t *testing.T) { function Test_Session_FromSession (line 377) | func Test_Session_FromSession(t *testing.T) { function Test_Session_FromContext_Types (line 387) | func Test_Session_FromContext_Types(t *testing.T) { function Test_Session_WithConfig (line 408) | func Test_Session_WithConfig(t *testing.T) { function Test_Session_Next (line 515) | func Test_Session_Next(t *testing.T) { function Test_Session_Middleware_Store (line 568) | func Test_Session_Middleware_Store(t *testing.T) { FILE: middleware/session/session.go type Session (line 18) | type Session struct method Release (line 82) | func (s *Session) Release() { method Fresh (line 110) | func (s *Session) Fresh() bool { method ID (line 124) | func (s *Session) ID() string { method Get (line 141) | func (s *Session) Get(key any) any { method Set (line 157) | func (s *Session) Set(key, val any) { method Delete (line 172) | func (s *Session) Delete(key any) { method Destroy (line 187) | func (s *Session) Destroy() error { method Regenerate (line 220) | func (s *Session) Regenerate() error { method Reset (line 247) | func (s *Session) Reset() error { method refresh (line 278) | func (s *Session) refresh() { method Save (line 294) | func (s *Session) Save() error { method saveSession (line 311) | func (s *Session) saveSession() error { method Keys (line 351) | func (s *Session) Keys() []any { method SetIdleTimeout (line 366) | func (s *Session) SetIdleTimeout(idleTimeout time.Duration) { method getExtractorInfo (line 373) | func (s *Session) getExtractorInfo() []extractors.Extractor { method setSession (line 400) | func (s *Session) setSession() { method delSession (line 436) | func (s *Session) delSession() { method setCookieAttributes (line 472) | func (s *Session) setCookieAttributes(fcookie *fasthttp.Cookie) { method decodeSessionData (line 504) | func (s *Session) decodeSessionData(rawData []byte) error { method encodeSessionData (line 527) | func (s *Session) encodeSessionData() ([]byte, error) { method absExpiration (line 551) | func (s *Session) absExpiration() time.Time { method isAbsExpired (line 566) | func (s *Session) isAbsExpired() bool { method setAbsExpiration (line 579) | func (s *Session) setAbsExpiration(absExpiration time.Time) { type absExpirationKeyType (line 28) | type absExpirationKeyType constant absExpirationKey (line 32) | absExpirationKey absExpirationKeyType = iota function acquireSession (line 56) | func acquireSession() *Session { function releaseSession (line 89) | func releaseSession(s *Session) { FILE: middleware/session/session_test.go function Test_Session (line 19) | func Test_Session(t *testing.T) { function Test_Session_Types (line 120) | func Test_Session_Types(t *testing.T) { function Test_Session_Store_Reset (line 296) | func Test_Session_Store_Reset(t *testing.T) { function Test_Session_KeyTypes (line 333) | func Test_Session_KeyTypes(t *testing.T) { function Test_Session_Save (line 519) | func Test_Session_Save(t *testing.T) { function Test_Session_ChainedExtractors (line 570) | func Test_Session_ChainedExtractors(t *testing.T) { function Test_Session_Save_IdleTimeout (line 705) | func Test_Session_Save_IdleTimeout(t *testing.T) { function Test_Session_Save_AbsoluteTimeout (line 768) | func Test_Session_Save_AbsoluteTimeout(t *testing.T) { function Test_Session_Destroy (line 853) | func Test_Session_Destroy(t *testing.T) { function Test_Session_Custom_Config (line 916) | func Test_Session_Custom_Config(t *testing.T) { function Test_Session_Cookie (line 928) | func Test_Session_Cookie(t *testing.T) { function Test_Session_Cookie_SameSite (line 952) | func Test_Session_Cookie_SameSite(t *testing.T) { function Test_Session_Cookie_In_Middleware_Chain (line 1061) | func Test_Session_Cookie_In_Middleware_Chain(t *testing.T) { function Test_Session_Deletes_Single_Key (line 1092) | func Test_Session_Deletes_Single_Key(t *testing.T) { function Test_Session_Reset (line 1130) | func Test_Session_Reset(t *testing.T) { function Test_Session_Regenerate (line 1203) | func Test_Session_Regenerate(t *testing.T) { function Benchmark_Session (line 1257) | func Benchmark_Session(b *testing.B) { function Benchmark_Session_Parallel (line 1295) | func Benchmark_Session_Parallel(b *testing.B) { function Benchmark_Session_Asserted (line 1341) | func Benchmark_Session_Asserted(b *testing.B) { function Benchmark_Session_Asserted_Parallel (line 1381) | func Benchmark_Session_Asserted_Parallel(b *testing.B) { function Test_Session_Concurrency (line 1425) | func Test_Session_Concurrency(t *testing.T) { function Test_Session_StoreGetDecodeSessionDataError (line 1529) | func Test_Session_StoreGetDecodeSessionDataError(t *testing.T) { function Test_Session_Fresh_Flag_Bug (line 1572) | func Test_Session_Fresh_Flag_Bug(t *testing.T) { function Test_Session_CSRF_Scenario (line 1623) | func Test_Session_CSRF_Scenario(t *testing.T) { function Test_Session_Multiple_GetSession_Calls (line 1683) | func Test_Session_Multiple_GetSession_Calls(t *testing.T) { FILE: middleware/session/store.go type sessionIDKey (line 23) | type sessionIDKey constant sessionIDContextKey (line 27) | sessionIDContextKey sessionIDKey = iota type Store (line 31) | type Store struct method RegisterType (line 74) | func (*Store) RegisterType(i any) { method Get (line 96) | func (s *Store) Get(c fiber.Ctx) (*Session, error) { method getSession (line 122) | func (s *Store) getSession(c fiber.Ctx) (*Session, error) { method getSessionID (line 200) | func (s *Store) getSessionID(c fiber.Ctx) string { method Reset (line 220) | func (s *Store) Reset(ctx context.Context) error { method Delete (line 238) | func (s *Store) Delete(ctx context.Context, id string) error { method GetByID (line 278) | func (s *Store) GetByID(ctx context.Context, id string) (*Session, err... function NewStore (line 46) | func NewStore(config ...Config) *Store { FILE: middleware/session/store_test.go function Test_Store_getSessionID (line 15) | func Test_Store_getSessionID(t *testing.T) { function Test_Store_Get (line 72) | func Test_Store_Get(t *testing.T) { function Test_Store_DeleteSession (line 97) | func Test_Store_DeleteSession(t *testing.T) { function TestStore_Get_SessionAlreadyLoaded (line 127) | func TestStore_Get_SessionAlreadyLoaded(t *testing.T) { function TestStore_Delete (line 150) | func TestStore_Delete(t *testing.T) { function Test_Store_GetByID (line 166) | func Test_Store_GetByID(t *testing.T) { FILE: middleware/skip/skip.go function New (line 10) | func New(handler fiber.Handler, exclude func(c fiber.Ctx) bool) fiber.Ha... FILE: middleware/skip/skip_test.go function Test_Skip (line 14) | func Test_Skip(t *testing.T) { function Test_SkipFalse (line 27) | func Test_SkipFalse(t *testing.T) { function Test_SkipNilFunc (line 40) | func Test_SkipNilFunc(t *testing.T) { function helloWorldHandler (line 52) | func helloWorldHandler(c fiber.Ctx) error { function errTeapotHandler (line 56) | func errTeapotHandler(fiber.Ctx) error { FILE: middleware/static/config.go type Config (line 11) | type Config struct function configDefault (line 79) | func configDefault(config ...Config) Config { FILE: middleware/static/static.go function sanitizePath (line 27) | func sanitizePath(p []byte, filesystem fs.FS) ([]byte, error) { function New (line 121) | func New(root string, cfg ...Config) fiber.Handler { function isFile (line 270) | func isFile(root string, filesystem fs.FS) (bool, error) { FILE: middleware/static/static_test.go constant winOS (line 23) | winOS = "windows" constant testCSSDir (line 24) | testCSSDir = "../../.github/testdata/fs/css" function Test_Static_Index_Default (line 33) | func Test_Static_Index_Default(t *testing.T) { function Test_Static_Direct (line 67) | func Test_Static_Direct(t *testing.T) { function Test_Static_MaxAge (line 102) | func Test_Static_MaxAge(t *testing.T) { function Test_Static_Custom_CacheControl (line 119) | func Test_Static_Custom_CacheControl(t *testing.T) { function Test_Static_Disable_Cache (line 141) | func Test_Static_Disable_Cache(t *testing.T) { function Test_Static_NotFoundHandler (line 185) | func Test_Static_NotFoundHandler(t *testing.T) { function Test_Static_Download (line 207) | func Test_Static_Download(t *testing.T) { function Test_Static_Download_NonASCII (line 223) | func Test_Static_Download_NonASCII(t *testing.T) { function Test_Static_Group (line 247) | func Test_Static_Group(t *testing.T) { function Test_Static_Wildcard (line 277) | func Test_Static_Wildcard(t *testing.T) { function Test_Static_Prefix_Wildcard (line 295) | func Test_Static_Prefix_Wildcard(t *testing.T) { function Test_Static_Prefix (line 321) | func Test_Static_Prefix(t *testing.T) { function Test_Static_Trailing_Slash (line 352) | func Test_Static_Trailing_Slash(t *testing.T) { function Test_Static_Next (line 399) | func Test_Static_Next(t *testing.T) { function Test_Route_Static_Root (line 444) | func Test_Route_Static_Root(t *testing.T) { function Test_Route_Static_HasPrefix (line 481) | func Test_Route_Static_HasPrefix(t *testing.T) { function Test_Static_FS (line 566) | func Test_Static_FS(t *testing.T) { function Test_Static_FS_Browse (line 622) | func Test_Static_FS_Browse(t *testing.T) { function Test_Static_FS_Prefix_Wildcard (line 679) | func Test_Static_FS_Prefix_Wildcard(t *testing.T) { function Test_isFile (line 700) | func Test_isFile(t *testing.T) { function Test_Static_Compress (line 775) | func Test_Static_Compress(t *testing.T) { function Test_Static_Compress_WithoutEncoding (line 812) | func Test_Static_Compress_WithoutEncoding(t *testing.T) { function Test_Static_Compress_WithFileSuffixes (line 859) | func Test_Static_Compress_WithFileSuffixes(t *testing.T) { function Test_Router_Mount_n_Static (line 900) | func Test_Router_Mount_n_Static(t *testing.T) { function Test_Static_PathTraversal (line 925) | func Test_Static_PathTraversal(t *testing.T) { function Test_Static_PathTraversal_WindowsOnly (line 1053) | func Test_Static_PathTraversal_WindowsOnly(t *testing.T) { function Benchmark_SanitizePath (line 1137) | func Benchmark_SanitizePath(b *testing.B) { function Test_SanitizePath (line 1154) | func Test_SanitizePath(t *testing.T) { function Test_SanitizePath_Error (line 1197) | func Test_SanitizePath_Error(t *testing.T) { FILE: middleware/timeout/config.go type Config (line 10) | type Config struct function configDefault (line 37) | func configDefault(config ...Config) Config { FILE: middleware/timeout/timeout.go function New (line 21) | func New(h fiber.Handler, config ...Config) fiber.Handler { function handleResult (line 87) | func handleResult(err error, ctx fiber.Ctx, cfg Config) error { function handleTimeout (line 95) | func handleTimeout( function invokeOnTimeout (line 158) | func invokeOnTimeout(ctx fiber.Ctx, cfg Config) error { function isTimeoutError (line 167) | func isTimeoutError(err error, customErrors []error) bool { FILE: middleware/timeout/timeout_test.go function sleepWithContext (line 29) | func sleepWithContext(ctx context.Context, d time.Duration, te error) er... function TestTimeout_Success (line 42) | func TestTimeout_Success(t *testing.T) { function TestTimeout_Exceeded (line 62) | func TestTimeout_Exceeded(t *testing.T) { function TestTimeout_ContextPropagation (line 86) | func TestTimeout_ContextPropagation(t *testing.T) { function TestTimeout_HandlerReturnsEarlyOnCancel (line 127) | func TestTimeout_HandlerReturnsEarlyOnCancel(t *testing.T) { function TestTimeout_CustomError (line 156) | func TestTimeout_CustomError(t *testing.T) { function TestTimeout_UnmatchedError (line 179) | func TestTimeout_UnmatchedError(t *testing.T) { function TestTimeout_ZeroDuration (line 196) | func TestTimeout_ZeroDuration(t *testing.T) { function TestTimeout_NegativeDuration (line 213) | func TestTimeout_NegativeDuration(t *testing.T) { function TestTimeout_CustomHandler (line 229) | func TestTimeout_CustomHandler(t *testing.T) { function TestTimeout_PanicInHandler (line 259) | func TestTimeout_PanicInHandler(t *testing.T) { function TestIsTimeoutError_DeadlineExceeded (line 275) | func TestIsTimeoutError_DeadlineExceeded(t *testing.T) { function TestIsTimeoutError_CustomErrors (line 283) | func TestIsTimeoutError_CustomErrors(t *testing.T) { function TestIsTimeoutError_WithOnTimeout (line 293) | func TestIsTimeoutError_WithOnTimeout(t *testing.T) { function TestTimeout_ImmediateReturn (line 321) | func TestTimeout_ImmediateReturn(t *testing.T) { function TestTimeout_PanicAfterTimeout (line 357) | func TestTimeout_PanicAfterTimeout(t *testing.T) { function TestTimeout_Next (line 384) | func TestTimeout_Next(t *testing.T) { function TestTimeout_ContextCleanup (line 406) | func TestTimeout_ContextCleanup(t *testing.T) { function TestTimeout_AbandonMechanism (line 436) | func TestTimeout_AbandonMechanism(t *testing.T) { FILE: mount.go type mountFields (line 16) | type mountFields struct function newMountFields (line 30) | func newMountFields(app *App) *mountFields { method mount (line 42) | func (app *App) mount(prefix string, subApp *App) Router { method mount (line 73) | func (grp *Group) mount(prefix string, subApp *App) Router { method MountPath (line 103) | func (app *App) MountPath() string { method hasMountedApps (line 108) | func (app *App) hasMountedApps() bool { method mountStartupProcess (line 113) | func (app *App) mountStartupProcess() { method generateAppListKeys (line 128) | func (app *App) generateAppListKeys() { method appendSubAppLists (line 139) | func (app *App) appendSubAppLists(appList map[string]*App, parent ...str... method processSubAppsRoutes (line 168) | func (app *App) processSubAppsRoutes() { FILE: mount_test.go function Test_App_Mount (line 18) | func Test_App_Mount(t *testing.T) { function Test_App_Mount_RootPath_Nested (line 33) | func Test_App_Mount_RootPath_Nested(t *testing.T) { function Test_App_Mount_Nested (line 54) | func Test_App_Mount_Nested(t *testing.T) { function Test_App_Mount_Express_Behavior (line 93) | func Test_App_Mount_Express_Behavior(t *testing.T) { function Test_App_Mount_RoutePositions (line 141) | func Test_App_Mount_RoutePositions(t *testing.T) { function Test_App_MountPath (line 207) | func Test_App_MountPath(t *testing.T) { function Test_App_ErrorHandler_GroupMount (line 224) | func Test_App_ErrorHandler_GroupMount(t *testing.T) { function Test_App_ErrorHandler_GroupMountRootLevel (line 244) | func Test_App_ErrorHandler_GroupMountRootLevel(t *testing.T) { function Test_App_Group_Mount (line 265) | func Test_App_Group_Mount(t *testing.T) { function Test_App_UseParentErrorHandler (line 282) | func Test_App_UseParentErrorHandler(t *testing.T) { function Test_App_UseMountedErrorHandler (line 301) | func Test_App_UseMountedErrorHandler(t *testing.T) { function Test_App_UseMountedErrorHandlerRootLevel (line 320) | func Test_App_UseMountedErrorHandlerRootLevel(t *testing.T) { function Test_App_UseMountedErrorHandlerForBestPrefixMatch (line 339) | func Test_App_UseMountedErrorHandlerForBestPrefixMatch(t *testing.T) { function Test_Mount_Route_Names (line 395) | func Test_Mount_Route_Names(t *testing.T) { function Test_Ctx_Render_Mount (line 469) | func Test_Ctx_Render_Mount(t *testing.T) { function Test_Ctx_Render_Mount_ParentOrSubHasViews (line 499) | func Test_Ctx_Render_Mount_ParentOrSubHasViews(t *testing.T) { function Test_Ctx_Render_MountGroup (line 570) | func Test_Ctx_Render_MountGroup(t *testing.T) { FILE: path.go type routeParser (line 26) | type routeParser struct method reset (line 212) | func (parser *routeParser) reset() { method parseRoute (line 221) | func (parser *routeParser) parseRoute(pattern string, customConstraint... method analyseConstantPart (line 327) | func (*routeParser) analyseConstantPart(pattern string, nextParamPosit... method analyseParameterPart (line 342) | func (parser *routeParser) analyseParameterPart(pattern string, custom... method getMatch (line 507) | func (parser *routeParser) getMatch(detectionPath, path string, params... type routeSegment (line 40) | type routeSegment struct constant wildcardParam (line 60) | wildcardParam byte = '*' constant plusParam (line 61) | plusParam byte = '+' constant optionalParam (line 62) | optionalParam byte = '?' constant paramStarterChar (line 63) | paramStarterChar byte = ':' constant slashDelimiter (line 64) | slashDelimiter byte = '/' constant escapeChar (line 65) | escapeChar byte = '\\' constant paramConstraintStart (line 66) | paramConstraintStart byte = '<' constant paramConstraintEnd (line 67) | paramConstraintEnd byte = '>' constant paramConstraintSeparator (line 68) | paramConstraintSeparator byte = ';' constant paramConstraintDataStart (line 69) | paramConstraintDataStart byte = '(' constant paramConstraintDataEnd (line 70) | paramConstraintDataEnd byte = ')' constant paramConstraintDataSeparator (line 71) | paramConstraintDataSeparator byte = ',' type TypeConstraint (line 75) | type TypeConstraint type Constraint (line 79) | type Constraint struct method CheckConstraint (line 707) | func (c *Constraint) CheckConstraint(param string) bool { type CustomConstraint (line 88) | type CustomConstraint interface constant noConstraint (line 101) | noConstraint TypeConstraint = 1 << iota constant intConstraint (line 102) | intConstraint constant boolConstraint (line 103) | boolConstraint constant floatConstraint (line 104) | floatConstraint constant alphaConstraint (line 105) | alphaConstraint constant datetimeConstraint (line 106) | datetimeConstraint constant guidConstraint (line 107) | guidConstraint constant minLenConstraint (line 108) | minLenConstraint constant maxLenConstraint (line 109) | maxLenConstraint constant lenConstraint (line 110) | lenConstraint constant betweenLenConstraint (line 111) | betweenLenConstraint constant minConstraint (line 112) | minConstraint constant maxConstraint (line 113) | maxConstraint constant rangeConstraint (line 114) | rangeConstraint constant regexConstraint (line 115) | regexConstraint constant needOneData (line 119) | needOneData = minLenConstraint | maxLenConstraint | lenConstraint | minC... constant needTwoData (line 120) | needTwoData = betweenLenConstraint | rangeConstraint function RoutePatternMatch (line 155) | func RoutePatternMatch(path, pattern string, cfg ...Config) bool { function parseRoute (line 245) | func parseRoute(pattern string, customConstraints ...CustomConstraint) r... function addParameterMetaInfo (line 260) | func addParameterMetaInfo(segs []*routeSegment) []*routeSegment { function findNextParamPosition (line 305) | func findNextParamPosition(pattern string) int { function findNextNonEscapedCharPosition (line 462) | func findNextNonEscapedCharPosition(search string, char byte) int { function splitNonEscaped (line 473) | func splitNonEscaped(s string, sep byte) []string { function hasPartialMatchBoundary (line 486) | func hasPartialMatchBoundary(path string, matchedLength int) bool { function findParamLen (line 563) | func findParamLen(s string, segment *routeSegment) int { function findParamLenForLastSegment (line 596) | func findParamLenForLastSegment(s string, seg *routeSegment) int { function findGreedyParamLen (line 607) | func findGreedyParamLen(s string, searchCount int, segment *routeSegment... function GetTrimmedParam (line 623) | func GetTrimmedParam(param string) string { function RemoveEscapeChar (line 639) | func RemoveEscapeChar(word string) string { function RemoveEscapeCharBytes (line 659) | func RemoveEscapeCharBytes(word []byte) []byte { function getParamConstraintType (line 670) | func getParamConstraintType(constraintPart string) TypeConstraint { FILE: path_test.go function Test_Path_parseRoute (line 16) | func Test_Path_parseRoute(t *testing.T) { function Test_Path_matchParams (line 139) | func Test_Path_matchParams(t *testing.T) { function Test_RoutePatternMatch (line 158) | func Test_RoutePatternMatch(t *testing.T) { function TestHasPartialMatchBoundary (line 175) | func TestHasPartialMatchBoundary(t *testing.T) { function Test_Utils_GetTrimmedParam (line 236) | func Test_Utils_GetTrimmedParam(t *testing.T) { function Test_Utils_RemoveEscapeChar (line 250) | func Test_Utils_RemoveEscapeChar(t *testing.T) { function Test_ConstraintCheckConstraint_InvalidMetadata (line 260) | func Test_ConstraintCheckConstraint_InvalidMetadata(t *testing.T) { function Benchmark_Utils_RemoveEscapeChar (line 323) | func Benchmark_Utils_RemoveEscapeChar(b *testing.B) { function Benchmark_Path_matchParams (line 334) | func Benchmark_Path_matchParams(t *testing.B) { function Benchmark_RoutePatternMatch (line 365) | func Benchmark_RoutePatternMatch(t *testing.B) { function Test_Route_TooManyParams_Panic (line 394) | func Test_Route_TooManyParams_Panic(t *testing.T) { function Test_App_Register_TooManyParams_Panic (line 425) | func Test_App_Register_TooManyParams_Panic(t *testing.T) { function paramsRoute (line 457) | func paramsRoute(t *testing.T, n int) string { FILE: path_testcases_test.go type routeTestCase (line 11) | type routeTestCase struct type routeCaseCollection (line 18) | type routeCaseCollection struct function init (line 28) | func init() { FILE: prefork.go constant envPreforkChildKey (line 20) | envPreforkChildKey = "FIBER_PREFORK_CHILD" constant envPreforkChildVal (line 21) | envPreforkChildVal = "1" constant sleepDuration (line 22) | sleepDuration = 100 * time.Millisecond constant windowsOS (line 23) | windowsOS = "windows" function IsChild (line 32) | func IsChild() bool { method prefork (line 37) | func (app *App) prefork(addr string, tlsConfig *tls.Config, cfg *ListenC... function watchMaster (line 161) | func watchMaster(masterPID int) { function dummyCmd (line 190) | func dummyCmd() *exec.Cmd { FILE: prefork_test.go function Test_App_Prefork_Child_Process (line 18) | func Test_App_Prefork_Child_Process(t *testing.T) { function Test_App_Prefork_Master_Process (line 55) | func Test_App_Prefork_Master_Process(t *testing.T) { function Test_App_Prefork_Child_Process_Never_Show_Startup_Message (line 78) | func Test_App_Prefork_Child_Process_Never_Show_Startup_Message(t *testin... function setupIsChild (line 102) | func setupIsChild(t *testing.T) { FILE: readonly.go function isReadOnly (line 15) | func isReadOnly(p unsafe.Pointer) bool { FILE: readonly_strict.go function isReadOnly (line 7) | func isReadOnly(_ unsafe.Pointer) bool { FILE: redirect.go constant maxPoolableMapSize (line 37) | maxPoolableMapSize = 64 constant FlashCookieName (line 41) | FlashCookieName = "fiber_flash" function hasFlashCookie (line 50) | func hasFlashCookie(header *fasthttp.RequestHeader) bool { type redirectionMsg (line 69) | type redirectionMsg struct type redirectionMsgs (line 76) | type redirectionMsgs type OldInputData (line 79) | type OldInputData struct type FlashMessage (line 85) | type FlashMessage struct type Redirect (line 92) | type Redirect struct method release (line 125) | func (r *Redirect) release() { method Status (line 151) | func (r *Redirect) Status(code int) *Redirect { method With (line 161) | func (r *Redirect) With(key, value string, level ...uint8) *Redirect { method WithInput (line 191) | func (r *Redirect) WithInput() *Redirect { method Messages (line 219) | func (r *Redirect) Messages() []FlashMessage { method Message (line 251) | func (r *Redirect) Message(key string) FlashMessage { method OldInputs (line 285) | func (r *Redirect) OldInputs() []OldInputData { method OldInput (line 312) | func (r *Redirect) OldInput(key string) OldInputData { method To (line 328) | func (r *Redirect) To(location string) error { method Route (line 339) | func (r *Redirect) Route(name string, config ...RedirectConfig) error { method Back (line 376) | func (r *Redirect) Back(fallback ...string) error { method parseAndClearFlashMessages (line 393) | func (r *Redirect) parseAndClearFlashMessages() { method processFlashMessages (line 415) | func (r *Redirect) processFlashMessages() { type RedirectConfig (line 101) | type RedirectConfig struct function AcquireRedirect (line 107) | func AcquireRedirect() *Redirect { function ReleaseRedirect (line 120) | func ReleaseRedirect(r *Redirect) { function acquireOldInput (line 131) | func acquireOldInput() map[string]string { function releaseOldInput (line 140) | func releaseOldInput(oldInput map[string]string) { FILE: redirect_msgp.go constant zc920acdalimitArrays (line 11) | zc920acdalimitArrays = 256 constant zc920acdalimitMaps (line 12) | zc920acdalimitMaps = 32 method DecodeMsg (line 16) | func (z *redirectionMsg) DecodeMsg(dc *msgp.Reader) (err error) { method EncodeMsg (line 73) | func (z *redirectionMsg) EncodeMsg(en *msgp.Writer) (err error) { method MarshalMsg (line 119) | func (z *redirectionMsg) MarshalMsg(b []byte) (o []byte, err error) { method UnmarshalMsg (line 138) | func (z *redirectionMsg) UnmarshalMsg(bts []byte) (o []byte, err error) { method Msgsize (line 196) | func (z *redirectionMsg) Msgsize() (s int) { method DecodeMsg (line 202) | func (z *redirectionMsgs) DecodeMsg(dc *msgp.Reader) (err error) { method EncodeMsg (line 229) | func (z redirectionMsgs) EncodeMsg(en *msgp.Writer) (err error) { method MarshalMsg (line 250) | func (z redirectionMsgs) MarshalMsg(b []byte) (o []byte, err error) { method UnmarshalMsg (line 267) | func (z *redirectionMsgs) UnmarshalMsg(bts []byte) (o []byte, err error) { method Msgsize (line 295) | func (z redirectionMsgs) Msgsize() (s int) { FILE: redirect_msgp_test.go function TestMarshalUnmarshalredirectionMsg (line 12) | func TestMarshalUnmarshalredirectionMsg(t *testing.T) { function BenchmarkMarshalMsgredirectionMsg (line 35) | func BenchmarkMarshalMsgredirectionMsg(b *testing.B) { function BenchmarkAppendMsgredirectionMsg (line 44) | func BenchmarkAppendMsgredirectionMsg(b *testing.B) { function BenchmarkUnmarshalredirectionMsg (line 56) | func BenchmarkUnmarshalredirectionMsg(b *testing.B) { function TestEncodeDecoderedirectionMsg (line 70) | func TestEncodeDecoderedirectionMsg(t *testing.T) { function BenchmarkEncoderedirectionMsg (line 94) | func BenchmarkEncoderedirectionMsg(b *testing.B) { function BenchmarkDecoderedirectionMsg (line 108) | func BenchmarkDecoderedirectionMsg(b *testing.B) { function TestMarshalUnmarshalredirectionMsgs (line 125) | func TestMarshalUnmarshalredirectionMsgs(t *testing.T) { function BenchmarkMarshalMsgredirectionMsgs (line 148) | func BenchmarkMarshalMsgredirectionMsgs(b *testing.B) { function BenchmarkAppendMsgredirectionMsgs (line 157) | func BenchmarkAppendMsgredirectionMsgs(b *testing.B) { function BenchmarkUnmarshalredirectionMsgs (line 169) | func BenchmarkUnmarshalredirectionMsgs(b *testing.B) { function TestEncodeDecoderedirectionMsgs (line 183) | func TestEncodeDecoderedirectionMsgs(t *testing.T) { function BenchmarkEncoderedirectionMsgs (line 207) | func BenchmarkEncoderedirectionMsgs(b *testing.B) { function BenchmarkDecoderedirectionMsgs (line 221) | func BenchmarkDecoderedirectionMsgs(b *testing.B) { FILE: redirect_test.go function assertFlashCookieCleared (line 23) | func assertFlashCookieCleared(t *testing.T, setCookie string) { function Test_Redirect_To (line 33) | func Test_Redirect_To(t *testing.T) { function Test_Redirect_To_WithFlashMessages (line 51) | func Test_Redirect_To_WithFlashMessages(t *testing.T) { function Test_Redirect_Route_WithParams (line 75) | func Test_Redirect_Route_WithParams(t *testing.T) { function Test_Redirect_Route_WithParams_WithQueries (line 94) | func Test_Redirect_Route_WithParams_WithQueries(t *testing.T) { function Test_Redirect_Route_WithOptionalParams (line 119) | func Test_Redirect_Route_WithOptionalParams(t *testing.T) { function Test_Redirect_Route_WithOptionalParamsWithoutValue (line 138) | func Test_Redirect_Route_WithOptionalParamsWithoutValue(t *testing.T) { function Test_Redirect_Route_WithGreedyParameters (line 153) | func Test_Redirect_Route_WithGreedyParameters(t *testing.T) { function Test_Redirect_Back (line 172) | func Test_Redirect_Back(t *testing.T) { function Test_Redirect_Back_WithFlashMessages (line 191) | func Test_Redirect_Back_WithFlashMessages(t *testing.T) { function Test_Redirect_Back_WithReferer (line 220) | func Test_Redirect_Back_WithReferer(t *testing.T) { function Test_Redirect_Route_WithFlashMessages (line 240) | func Test_Redirect_Route_WithFlashMessages(t *testing.T) { function Test_Redirect_Route_WithOldInput (line 273) | func Test_Redirect_Route_WithOldInput(t *testing.T) { function Test_Redirect_WithInput_ReusesClearedMap (line 398) | func Test_Redirect_WithInput_ReusesClearedMap(t *testing.T) { function Test_Redirect_parseAndClearFlashMessages (line 420) | func Test_Redirect_parseAndClearFlashMessages(t *testing.T) { function Test_Redirect_parseAndClearFlashMessages_InvalidHex (line 508) | func Test_Redirect_parseAndClearFlashMessages_InvalidHex(t *testing.T) { function Test_Redirect_Messages_ClearsFlashMessages (line 534) | func Test_Redirect_Messages_ClearsFlashMessages(t *testing.T) { function Test_Redirect_CompleteFlowWithFlashMessages (line 575) | func Test_Redirect_CompleteFlowWithFlashMessages(t *testing.T) { function Test_Redirect_FlashMessagesWithSpecialChars (line 640) | func Test_Redirect_FlashMessagesWithSpecialChars(t *testing.T) { function Benchmark_Redirect_Route (line 707) | func Benchmark_Redirect_Route(b *testing.B) { function Benchmark_Redirect_Route_WithQueries (line 733) | func Benchmark_Redirect_Route_WithQueries(b *testing.B) { function Benchmark_Redirect_Route_WithFlashMessages (line 764) | func Benchmark_Redirect_Route_WithFlashMessages(b *testing.B) { function Benchmark_Redirect_parseAndClearFlashMessages (line 818) | func Benchmark_Redirect_parseAndClearFlashMessages(b *testing.B) { function Benchmark_Redirect_processFlashMessages (line 859) | func Benchmark_Redirect_processFlashMessages(b *testing.B) { function Benchmark_Redirect_Messages (line 889) | func Benchmark_Redirect_Messages(b *testing.B) { function Benchmark_Redirect_OldInputs (line 929) | func Benchmark_Redirect_OldInputs(b *testing.B) { function Benchmark_Redirect_Message (line 963) | func Benchmark_Redirect_Message(b *testing.B) { function Benchmark_Redirect_OldInput (line 997) | func Benchmark_Redirect_OldInput(b *testing.B) { FILE: register.go type Register (line 8) | type Register interface type Registering (line 29) | type Registering struct method All (line 50) | func (r *Registering) All(handler any, handlers ...any) Register { method Get (line 58) | func (r *Registering) Get(handler any, handlers ...any) Register { method Head (line 64) | func (r *Registering) Head(handler any, handlers ...any) Register { method Post (line 70) | func (r *Registering) Post(handler any, handlers ...any) Register { method Put (line 76) | func (r *Registering) Put(handler any, handlers ...any) Register { method Delete (line 81) | func (r *Registering) Delete(handler any, handlers ...any) Register { method Connect (line 87) | func (r *Registering) Connect(handler any, handlers ...any) Register { method Options (line 93) | func (r *Registering) Options(handler any, handlers ...any) Register { method Trace (line 99) | func (r *Registering) Trace(handler any, handlers ...any) Register { method Patch (line 105) | func (r *Registering) Patch(handler any, handlers ...any) Register { method Add (line 111) | func (r *Registering) Add(methods []string, handler any, handlers ...a... method RouteChain (line 119) | func (r *Registering) RouteChain(path string) Register { FILE: req.go type Range (line 32) | type Range struct type RangeSet (line 38) | type RangeSet struct type DefaultReq (line 46) | type DefaultReq struct method Accepts (line 51) | func (r *DefaultReq) Accepts(offers ...string) string { method AcceptsCharsets (line 57) | func (r *DefaultReq) AcceptsCharsets(offers ...string) string { method AcceptsEncodings (line 63) | func (r *DefaultReq) AcceptsEncodings(offers ...string) string { method AcceptsLanguages (line 70) | func (r *DefaultReq) AcceptsLanguages(offers ...string) string { method AcceptsLanguagesExtended (line 77) | func (r *DefaultReq) AcceptsLanguagesExtended(offers ...string) string { method App (line 83) | func (r *DefaultReq) App() *App { method BaseURL (line 88) | func (r *DefaultReq) BaseURL() string { method BodyRaw (line 95) | func (r *DefaultReq) BodyRaw() []byte { method tryDecodeBodyInOrder (line 100) | func (r *DefaultReq) tryDecodeBodyInOrder( method Body (line 149) | func (r *DefaultReq) Body() []byte { method RequestCtx (line 201) | func (r *DefaultReq) RequestCtx() *fasthttp.RequestCtx { method Cookies (line 341) | func (r *DefaultReq) Cookies(key string, defaultValue ...string) string { method Request (line 348) | func (r *DefaultReq) Request() *fasthttp.Request { method FormFile (line 353) | func (r *DefaultReq) FormFile(key string) (*multipart.FileHeader, erro... method FormValue (line 363) | func (r *DefaultReq) FormValue(key string, defaultValue ...string) str... method Fresh (line 373) | func (r *DefaultReq) Fresh() bool { method Get (line 427) | func (r *DefaultReq) Get(key string, defaultValue ...string) string { method GetHeaders (line 446) | func (r *DefaultReq) GetHeaders() map[string][]string { method Host (line 465) | func (r *DefaultReq) Host() string { method Hostname (line 482) | func (r *DefaultReq) Hostname() string { method Port (line 489) | func (r *DefaultReq) Port() string { method IP (line 512) | func (r *DefaultReq) IP() string { method extractIPsFromHeader (line 526) | func (r *DefaultReq) extractIPsFromHeader(header string) []string { method extractIPFromHeader (line 588) | func (r *DefaultReq) extractIPFromHeader(header string) string { method IPs (line 646) | func (r *DefaultReq) IPs() []string { method Is (line 652) | func (r *DefaultReq) Is(extension string) bool { method Locals (line 672) | func (r *DefaultReq) Locals(key any, value ...any) any { method Method (line 704) | func (r *DefaultReq) Method(override ...string) string { method MultipartForm (line 723) | func (r *DefaultReq) MultipartForm() (*multipart.Form, error) { method OriginalURL (line 730) | func (r *DefaultReq) OriginalURL() string { method Params (line 739) | func (r *DefaultReq) Params(key string, defaultValue ...string) string { method Scheme (line 788) | func (r *DefaultReq) Scheme() string { method Protocol (line 828) | func (r *DefaultReq) Protocol() string { method Query (line 837) | func (r *DefaultReq) Query(key string, defaultValue ...string) string { method Queries (line 862) | func (r *DefaultReq) Queries() map[string]string { method Range (line 904) | func (r *DefaultReq) Range(size int64) (Range, error) { method Route (line 1002) | func (r *DefaultReq) Route() *Route { method Subdomains (line 1009) | func (r *DefaultReq) Subdomains(offset ...int) []string { method Stale (line 1073) | func (r *DefaultReq) Stale() bool { method IsProxyTrusted (line 1080) | func (r *DefaultReq) IsProxyTrusted() bool { method IsFromLocal (line 1122) | func (r *DefaultReq) IsFromLocal() bool { method release (line 1136) | func (r *DefaultReq) release() { method getBody (line 1140) | func (r *DefaultReq) getBody() []byte { method FullURL (line 206) | func (c *DefaultCtx) FullURL() string { method UserAgent (line 219) | func (c *DefaultCtx) UserAgent() string { method Referer (line 224) | func (c *DefaultCtx) Referer() string { method AcceptLanguage (line 229) | func (c *DefaultCtx) AcceptLanguage() string { method AcceptEncoding (line 234) | func (c *DefaultCtx) AcceptEncoding() string { method HasHeader (line 239) | func (c *DefaultCtx) HasHeader(key string) bool { method MediaType (line 244) | func (c *DefaultCtx) MediaType() string { method Charset (line 257) | func (c *DefaultCtx) Charset() string { method IsJSON (line 302) | func (c *DefaultCtx) IsJSON() bool { method IsForm (line 307) | func (c *DefaultCtx) IsForm() bool { method IsMultipart (line 312) | func (c *DefaultCtx) IsMultipart() bool { method AcceptsJSON (line 317) | func (c *DefaultCtx) AcceptsJSON() bool { method AcceptsHTML (line 322) | func (c *DefaultCtx) AcceptsHTML() bool { method AcceptsXML (line 327) | func (c *DefaultCtx) AcceptsXML() bool { method AcceptsEventStream (line 332) | func (c *DefaultCtx) AcceptsEventStream() bool { function GetReqHeader (line 435) | func GetReqHeader[V GenericType](c Ctx, key string, defaultValue ...V) V { function Locals (line 687) | func Locals[V any](c Ctx, key any, value ...V) V { function Params (line 778) | func Params[V GenericType](c Ctx, key string, defaultValue ...V) V { function Query (line 894) | func Query[V GenericType](c Ctx, key string, defaultValue ...V) V { FILE: req_interface_gen.go type Req (line 12) | type Req interface FILE: res.go type SendFile (line 27) | type SendFile struct type sendFileStore (line 66) | type sendFileStore struct method configEqual (line 76) | func (sf *sendFileStore) configEqual(cfg SendFile) bool { type Cookie (line 106) | type Cookie struct type ResFmt (line 121) | type ResFmt struct type DefaultRes (line 129) | type DefaultRes struct method App (line 134) | func (r *DefaultRes) App() *App { method Append (line 140) | func (r *DefaultRes) Append(field string, values ...string) { method Attachment (line 207) | func (r *DefaultRes) Attachment(filename ...string) { method ClearCookie (line 232) | func (r *DefaultRes) ClearCookie(key ...string) { method RequestCtx (line 248) | func (r *DefaultRes) RequestCtx() *fasthttp.RequestCtx { method Cookie (line 253) | func (r *DefaultRes) Cookie(cookie *Cookie) { method Download (line 343) | func (r *DefaultRes) Download(file string, filename ...string) error { method Response (line 370) | func (r *DefaultRes) Response() *fasthttp.Response { method Format (line 380) | func (r *DefaultRes) Format(handlers ...ResFmt) error { method AutoFormat (line 435) | func (r *DefaultRes) AutoFormat(body any) error { method Get (line 476) | func (r *DefaultRes) Get(key string, defaultValue ...string) string { method GetHeaders (line 483) | func (r *DefaultRes) GetHeaders() map[string][]string { method JSON (line 502) | func (r *DefaultRes) JSON(data any, ctype ...string) error { method MsgPack (line 522) | func (r *DefaultRes) MsgPack(data any, ctype ...string) error { method CBOR (line 542) | func (r *DefaultRes) CBOR(data any, ctype ...string) error { method JSONP (line 561) | func (r *DefaultRes) JSONP(data any, callback ...string) error { method XML (line 590) | func (r *DefaultRes) XML(data any) error { method Links (line 603) | func (r *DefaultRes) Links(link ...string) { method Location (line 624) | func (r *DefaultRes) Location(path string) { method OriginalURL (line 631) | func (r *DefaultRes) OriginalURL() string { method Redirect (line 639) | func (r *DefaultRes) Redirect() *Redirect { method ViewBind (line 645) | func (r *DefaultRes) ViewBind(vars Map) error { method getLocationFromRoute (line 650) | func (r *DefaultRes) getLocationFromRoute(route *Route, params Map) (s... method GetRouteURL (line 684) | func (r *DefaultRes) GetRouteURL(routeName string, params Map) (string... method Render (line 691) | func (r *DefaultRes) Render(name string, bind any, layouts ...string) ... method renderExtensions (line 756) | func (r *DefaultRes) renderExtensions(bind any) { method Send (line 762) | func (r *DefaultRes) Send(body []byte) error { method SendEarlyHints (line 778) | func (r *DefaultRes) SendEarlyHints(hints []string) error { method SendFile (line 792) | func (r *DefaultRes) SendFile(file string, config ...SendFile) error { method SendStatus (line 979) | func (r *DefaultRes) SendStatus(status int) error { method SendString (line 997) | func (r *DefaultRes) SendString(body string) error { method SendStream (line 1004) | func (r *DefaultRes) SendStream(stream io.Reader, size ...int) error { method SendStreamWriter (line 1015) | func (r *DefaultRes) SendStreamWriter(streamWriter func(*bufio.Writer)... method Set (line 1022) | func (r *DefaultRes) Set(key, val string) { method setCanonical (line 1026) | func (r *DefaultRes) setCanonical(key, val string) { method Status (line 1032) | func (r *DefaultRes) Status(status int) Ctx { method Type (line 1052) | func (r *DefaultRes) Type(extension string, charset ...string) Ctx { method Vary (line 1093) | func (r *DefaultRes) Vary(fields ...string) { method Write (line 1098) | func (r *DefaultRes) Write(p []byte) (int, error) { method Writef (line 1104) | func (r *DefaultRes) Writef(f string, a ...any) (int, error) { method WriteString (line 1110) | func (r *DefaultRes) WriteString(s string) (int, error) { method release (line 1116) | func (r *DefaultRes) release() { method Drop (line 1123) | func (r *DefaultRes) Drop() error { method End (line 1132) | func (r *DefaultRes) End() error { function headerContainsValue (line 161) | func headerContainsValue(header, value string) bool { function sanitizeFilename (line 182) | func sanitizeFilename(filename string) string { function fallbackFilenameIfInvalid (line 198) | func fallbackFilenameIfInvalid(filename string) string { function sendFileContentLength (line 956) | func sendFileContentLength(path string, cfg SendFile) (int64, error) { function statusDisallowsBody (line 1037) | func statusDisallowsBody(status int) bool { function shouldIncludeCharset (line 1069) | func shouldIncludeCharset(mimeType string) bool { FILE: res_interface_gen.go type Res (line 13) | type Res interface FILE: router.go type Router (line 18) | type Router interface type Route (line 43) | type Route struct method match (line 66) | func (r *Route) match(detectionPath, path string, params *[maxParams]s... method next (line 113) | func (app *App) next(c *DefaultCtx) (bool, error) { method nextCustom (line 214) | func (app *App) nextCustom(c CustomCtx) (bool, error) { method requestHandler (line 313) | func (app *App) requestHandler(rctx *fasthttp.RequestCtx) { method addPrefixToRoute (line 353) | func (app *App) addPrefixToRoute(prefix string, route *Route) *Route { method copyRoute (line 374) | func (*App) copyRoute(route *Route) *Route { method normalizePath (line 396) | func (app *App) normalizePath(path string) string { method RemoveRoute (line 415) | func (app *App) RemoveRoute(path string, methods ...string) { method RemoveRouteByName (line 428) | func (app *App) RemoveRouteByName(name string, methods ...string) { method RemoveRouteFunc (line 437) | func (app *App) RemoveRouteFunc(matchFunc func(r *Route) bool, methods .... method deleteRoute (line 441) | func (app *App) deleteRoute(methods []string, matchFunc func(r *Route) b... method pruneAutoHeadRouteLocked (line 489) | func (app *App) pruneAutoHeadRouteLocked(path string) { method register (line 511) | func (app *App) register(methods []string, pathRaw string, group *Group,... method addRoute (line 588) | func (app *App) addRoute(method string, route *Route) { method ensureAutoHeadRoutes (line 620) | func (app *App) ensureAutoHeadRoutes() { method ensureAutoHeadRoutesLocked (line 627) | func (app *App) ensureAutoHeadRoutesLocked() { method RebuildTree (line 695) | func (app *App) RebuildTree() *App { method buildTree (line 703) | func (app *App) buildTree() *App { function reuseRouteBucket (line 760) | func reuseRouteBucket(prev map[int][]*Route, key, capHint int) []*Route { FILE: router_test.go function init (line 30) | func init() { function Test_Route_Handler_Order (line 40) | func Test_Route_Handler_Order(t *testing.T) { function Test_hasFlashCookieExactMatch (line 73) | func Test_hasFlashCookieExactMatch(t *testing.T) { function Test_Route_MixedFiberAndHTTPHandlers (line 98) | func Test_Route_MixedFiberAndHTTPHandlers(t *testing.T) { function Test_Route_Group_WithHTTPHandlers (line 141) | func Test_Route_Group_WithHTTPHandlers(t *testing.T) { function Test_RouteChain_WithHTTPHandlers (line 178) | func Test_RouteChain_WithHTTPHandlers(t *testing.T) { function Test_Route_Match_SameLength (line 223) | func Test_Route_Match_SameLength(t *testing.T) { function Test_Route_Match_Star (line 250) | func Test_Route_Match_Star(t *testing.T) { function Test_Route_Match_Root (line 298) | func Test_Route_Match_Root(t *testing.T) { function Test_Route_Match_Parser (line 316) | func Test_Route_Match_Parser(t *testing.T) { function TestAutoRegisterHeadRoutes (line 345) | func TestAutoRegisterHeadRoutes(t *testing.T) { function Test_Route_Match_Middleware (line 588) | func Test_Route_Match_Middleware(t *testing.T) { function Test_Route_Match_UnescapedPath (line 615) | func Test_Route_Match_UnescapedPath(t *testing.T) { function Test_Route_Match_WithEscapeChar (line 643) | func Test_Route_Match_WithEscapeChar(t *testing.T) { function Test_Route_Match_Middleware_HasPrefix (line 689) | func Test_Route_Match_Middleware_HasPrefix(t *testing.T) { function Test_Route_Match_Middleware_NoBoundary (line 707) | func Test_Route_Match_Middleware_NoBoundary(t *testing.T) { function Test_Route_Match_Middleware_Root (line 721) | func Test_Route_Match_Middleware_Root(t *testing.T) { function Test_Router_Register_Missing_Handler (line 739) | func Test_Router_Register_Missing_Handler(t *testing.T) { function Test_Ensure_Router_Interface_Implementation (line 761) | func Test_Ensure_Router_Interface_Implementation(t *testing.T) { function Test_Router_Handler_Catch_Error (line 773) | func Test_Router_Handler_Catch_Error(t *testing.T) { function Test_Router_NotFound (line 792) | func Test_Router_NotFound(t *testing.T) { function Test_Router_NotFound_HTML_Inject (line 810) | func Test_Router_NotFound_HTML_Inject(t *testing.T) { function registerTreeManipulationRoutes (line 828) | func registerTreeManipulationRoutes(app *App, middleware ...func(Ctx) er... function verifyRequest (line 845) | func verifyRequest(tb testing.TB, app *App, path string, expectedStatus ... function verifyRouteHandlerCounts (line 855) | func verifyRouteHandlerCounts(tb testing.TB, app *App, expectedRoutesCou... function verifyThereAreNoRoutes (line 881) | func verifyThereAreNoRoutes(tb testing.TB, app *App) { function Test_App_Rebuild_Tree (line 888) | func Test_App_Rebuild_Tree(t *testing.T) { function Test_App_Remove_Route_A_B_Feature_Testing (line 899) | func Test_App_Remove_Route_A_B_Feature_Testing(t *testing.T) { function Test_App_Remove_Route_By_Name (line 942) | func Test_App_Remove_Route_By_Name(t *testing.T) { function Test_App_Remove_Route_By_Name_Non_Existing_Route (line 957) | func Test_App_Remove_Route_By_Name_Non_Existing_Route(t *testing.T) { function Test_App_Remove_Route_Nested (line 967) | func Test_App_Remove_Route_Nested(t *testing.T) { function Test_App_Remove_Route_Parameterized (line 984) | func Test_App_Remove_Route_Parameterized(t *testing.T) { function Test_App_Remove_Route (line 997) | func Test_App_Remove_Route(t *testing.T) { function Test_App_Remove_Route_Non_Existing_Route (line 1011) | func Test_App_Remove_Route_Non_Existing_Route(t *testing.T) { function Test_App_Use_StrictRoutingBoundary (line 1021) | func Test_App_Use_StrictRoutingBoundary(t *testing.T) { function Test_Group_Use_StrictRoutingBoundary (line 1107) | func Test_Group_Use_StrictRoutingBoundary(t *testing.T) { function Test_App_Remove_Route_Concurrent (line 1200) | func Test_App_Remove_Route_Concurrent(t *testing.T) { function Test_Route_Registration_Prevent_Duplicate_With_Middleware (line 1226) | func Test_Route_Registration_Prevent_Duplicate_With_Middleware(t *testin... function TestNormalizePath (line 1253) | func TestNormalizePath(t *testing.T) { function TestRemoveRoute (line 1326) | func TestRemoveRoute(t *testing.T) { function registerDummyRoutes (line 1474) | func registerDummyRoutes(app *App) { function acquireDefaultCtxForRouterBenchmark (line 1483) | func acquireDefaultCtxForRouterBenchmark(b *testing.B, app *App, fctx *f... function Benchmark_App_RebuildTree (line 1495) | func Benchmark_App_RebuildTree(b *testing.B) { function Benchmark_App_MethodNotAllowed (line 1509) | func Benchmark_App_MethodNotAllowed(b *testing.B) { function Benchmark_Router_NotFound (line 1531) | func Benchmark_Router_NotFound(b *testing.B) { function Benchmark_Router_Handler (line 1552) | func Benchmark_Router_Handler(b *testing.B) { function Benchmark_Router_Handler_Strict_Case (line 1567) | func Benchmark_Router_Handler_Strict_Case(b *testing.B) { function Benchmark_Router_Chain (line 1586) | func Benchmark_Router_Chain(b *testing.B) { function Benchmark_Router_WithCompression (line 1605) | func Benchmark_Router_WithCompression(b *testing.B) { function Benchmark_Startup_Process (line 1628) | func Benchmark_Startup_Process(b *testing.B) { function Benchmark_Router_Next (line 1637) | func Benchmark_Router_Next(b *testing.B) { function Benchmark_Router_Next_Default (line 1661) | func Benchmark_Router_Next_Default(b *testing.B) { function Benchmark_Router_Next_Default_Parallel (line 1681) | func Benchmark_Router_Next_Default_Parallel(b *testing.B) { function Benchmark_Router_Next_Default_Immutable (line 1704) | func Benchmark_Router_Next_Default_Immutable(b *testing.B) { function Benchmark_Router_Next_Default_Parallel_Immutable (line 1724) | func Benchmark_Router_Next_Default_Parallel_Immutable(b *testing.B) { function Benchmark_Route_Match (line 1747) | func Benchmark_Route_Match(b *testing.B) { function Benchmark_Route_Match_Star (line 1775) | func Benchmark_Route_Match_Star(b *testing.B) { function Benchmark_Route_Match_Root (line 1804) | func Benchmark_Route_Match_Root(b *testing.B) { function Benchmark_Router_Handler_CaseSensitive (line 1833) | func Benchmark_Router_Handler_CaseSensitive(b *testing.B) { function Benchmark_Router_Handler_Unescape (line 1850) | func Benchmark_Router_Handler_Unescape(b *testing.B) { function Benchmark_Router_Handler_StrictRouting (line 1872) | func Benchmark_Router_Handler_StrictRouting(b *testing.B) { function Benchmark_Router_GitHub_API (line 1889) | func Benchmark_Router_GitHub_API(b *testing.B) { type testRoute (line 1917) | type testRoute struct type routeJSON (line 1922) | type routeJSON struct function newCustomApp (line 1927) | func newCustomApp() *App { function Test_NextCustom_MethodNotAllowed (line 1933) | func Test_NextCustom_MethodNotAllowed(t *testing.T) { function Test_NextCustom_NotFound (line 1958) | func Test_NextCustom_NotFound(t *testing.T) { function Test_RequestHandler_CustomCtx_NotImplemented (line 1977) | func Test_RequestHandler_CustomCtx_NotImplemented(t *testing.T) { function Test_NextCustom_Matched404 (line 1990) | func Test_NextCustom_Matched404(t *testing.T) { function Test_NextCustom_SkipMountAndNoHandlers (line 2010) | func Test_NextCustom_SkipMountAndNoHandlers(t *testing.T) { function Test_AddRoute_MergeHandlers (line 2033) | func Test_AddRoute_MergeHandlers(t *testing.T) { function Benchmark_App_RebuildTree_Parallel (line 2044) | func Benchmark_App_RebuildTree_Parallel(b *testing.B) { function Benchmark_App_MethodNotAllowed_Parallel (line 2058) | func Benchmark_App_MethodNotAllowed_Parallel(b *testing.B) { function Benchmark_Router_NotFound_Parallel (line 2086) | func Benchmark_Router_NotFound_Parallel(b *testing.B) { function Benchmark_Router_Handler_Parallel (line 2106) | func Benchmark_Router_Handler_Parallel(b *testing.B) { function Benchmark_Router_Handler_Strict_Case_Parallel (line 2120) | func Benchmark_Router_Handler_Strict_Case_Parallel(b *testing.B) { function Benchmark_Router_Chain_Parallel (line 2134) | func Benchmark_Router_Chain_Parallel(b *testing.B) { function Benchmark_Router_WithCompression_Parallel (line 2151) | func Benchmark_Router_WithCompression_Parallel(b *testing.B) { function Benchmark_Startup_Process_Parallel (line 2173) | func Benchmark_Startup_Process_Parallel(b *testing.B) { function Benchmark_Router_Next_Parallel (line 2183) | func Benchmark_Router_Next_Parallel(b *testing.B) { function Benchmark_Router_Next_Default_Immutable_Parallel (line 2212) | func Benchmark_Router_Next_Default_Immutable_Parallel(b *testing.B) { function Benchmark_Route_Match_Parallel (line 2229) | func Benchmark_Route_Match_Parallel(b *testing.B) { function Benchmark_Route_Match_Star_Parallel (line 2250) | func Benchmark_Route_Match_Star_Parallel(b *testing.B) { function Benchmark_Route_Match_Root_Parallel (line 2267) | func Benchmark_Route_Match_Root_Parallel(b *testing.B) { function Benchmark_Router_Handler_CaseSensitive_Parallel (line 2284) | func Benchmark_Router_Handler_CaseSensitive_Parallel(b *testing.B) { function Benchmark_Router_Handler_Unescape_Parallel (line 2299) | func Benchmark_Router_Handler_Unescape_Parallel(b *testing.B) { function Benchmark_Router_Handler_StrictRouting_Parallel (line 2318) | func Benchmark_Router_Handler_StrictRouting_Parallel(b *testing.B) { function Benchmark_Router_GitHub_API_Parallel (line 2333) | func Benchmark_Router_GitHub_API_Parallel(b *testing.B) { FILE: services.go type Service (line 13) | type Service interface method hasConfiguredServices (line 29) | func (app *App) hasConfiguredServices() bool { method validateConfiguredServices (line 33) | func (app *App) validateConfiguredServices() error { function validateServicesSlice (line 37) | func validateServicesSlice(services []Service) error { method initServices (line 49) | func (app *App) initServices() { method servicesStartupCtx (line 61) | func (app *App) servicesStartupCtx() context.Context { method servicesShutdownCtx (line 71) | func (app *App) servicesShutdownCtx() context.Context { method startServices (line 81) | func (app *App) startServices(ctx context.Context) error { method shutdownServices (line 116) | func (app *App) shutdownServices(ctx context.Context) error { method logServices (line 147) | func (app *App) logServices(ctx context.Context, out io.Writer, colors *... FILE: services_test.go constant terminateErrorMessage (line 17) | terminateErrorMessage = "terminate error" constant startErrorMessage (line 18) | startErrorMessage = "start error" type mockService (line 22) | type mockService struct method Start (line 33) | func (m *mockService) Start(ctx context.Context) error { method String (line 60) | func (m *mockService) String() string { method State (line 64) | func (m *mockService) State(ctx context.Context) (string, error) { method Terminate (line 84) | func (m *mockService) Terminate(ctx context.Context) error { function Test_HasConfiguredServices (line 112) | func Test_HasConfiguredServices(t *testing.T) { function Test_InitServices (line 129) | func Test_InitServices(t *testing.T) { function Test_StartServices (line 218) | func Test_StartServices(t *testing.T) { function Test_ShutdownServices (line 310) | func Test_ShutdownServices(t *testing.T) { function Test_LogServices (line 423) | func Test_LogServices(t *testing.T) { function Test_NewConfiguredServicesNil (line 468) | func Test_NewConfiguredServicesNil(t *testing.T) { function Test_ServiceContextProviders (line 478) | func Test_ServiceContextProviders(t *testing.T) { function Benchmark_StartServices (line 507) | func Benchmark_StartServices(b *testing.B) { function Benchmark_ShutdownServices (line 550) | func Benchmark_ShutdownServices(b *testing.B) { function Benchmark_StartServices_withContextCancellation (line 593) | func Benchmark_StartServices_withContextCancellation(b *testing.B) { function Benchmark_ShutdownServices_withContextCancellation (line 648) | func Benchmark_ShutdownServices_withContextCancellation(b *testing.B) { function Benchmark_ServicesMemory (line 713) | func Benchmark_ServicesMemory(b *testing.B) { FILE: state.go constant servicesStatePrefix (line 11) | servicesStatePrefix = "gofiber-services-" function init (line 15) | func init() { type State (line 21) | type State struct method Set (line 36) | func (s *State) Set(key string, value any) { method Get (line 41) | func (s *State) Get(key string) (any, bool) { method MustGet (line 46) | func (s *State) MustGet(key string) any { method Has (line 56) | func (s *State) Has(key string) bool { method Delete (line 62) | func (s *State) Delete(key string) { method Reset (line 67) | func (s *State) Reset() { method Keys (line 72) | func (s *State) Keys() []string { method Len (line 89) | func (s *State) Len() int { method GetString (line 138) | func (s *State) GetString(key string) (string, bool) { method GetInt (line 144) | func (s *State) GetInt(key string) (int, bool) { method GetBool (line 150) | func (s *State) GetBool(key string) (value, ok bool) { //nolint:noname... method GetFloat64 (line 156) | func (s *State) GetFloat64(key string) (float64, bool) { method GetUint (line 162) | func (s *State) GetUint(key string) (uint, bool) { method GetInt8 (line 168) | func (s *State) GetInt8(key string) (int8, bool) { method GetInt16 (line 174) | func (s *State) GetInt16(key string) (int16, bool) { method GetInt32 (line 180) | func (s *State) GetInt32(key string) (int32, bool) { method GetInt64 (line 186) | func (s *State) GetInt64(key string) (int64, bool) { method GetUint8 (line 192) | func (s *State) GetUint8(key string) (uint8, bool) { method GetUint16 (line 198) | func (s *State) GetUint16(key string) (uint16, bool) { method GetUint32 (line 204) | func (s *State) GetUint32(key string) (uint32, bool) { method GetUint64 (line 210) | func (s *State) GetUint64(key string) (uint64, bool) { method GetUintptr (line 216) | func (s *State) GetUintptr(key string) (uintptr, bool) { method GetFloat32 (line 222) | func (s *State) GetFloat32(key string) (float32, bool) { method GetComplex64 (line 228) | func (s *State) GetComplex64(key string) (complex64, bool) { method GetComplex128 (line 234) | func (s *State) GetComplex128(key string) (complex128, bool) { method serviceKey (line 241) | func (s *State) serviceKey(key string) string { method setService (line 247) | func (s *State) setService(srv Service) { method deleteService (line 253) | func (s *State) deleteService(srv Service) { method serviceKeys (line 258) | func (s *State) serviceKeys() []string { method Services (line 280) | func (s *State) Services() map[string]Service { method ServicesLen (line 292) | func (s *State) ServicesLen() int { function newState (line 27) | func newState() *State { function GetState (line 101) | func GetState[T any](s *State, key string) (T, bool) { function MustGetState (line 115) | func MustGetState[T any](s *State, key string) T { function GetStateWithDefault (line 127) | func GetStateWithDefault[T any](s *State, key string, defaultVal T) T { function GetService (line 305) | func GetService[T Service](s *State, key string) (T, bool) { function MustGetService (line 312) | func MustGetService[T Service](s *State, key string) T { FILE: state_test.go function TestState_SetAndGet_WithApp (line 10) | func TestState_SetAndGet_WithApp(t *testing.T) { function TestState_SetAndGet (line 26) | func TestState_SetAndGet(t *testing.T) { function TestState_GetString (line 41) | func TestState_GetString(t *testing.T) { function TestState_GetInt (line 62) | func TestState_GetInt(t *testing.T) { function TestState_GetBool (line 83) | func TestState_GetBool(t *testing.T) { function TestState_GetFloat64 (line 104) | func TestState_GetFloat64(t *testing.T) { function TestState_GetUint (line 125) | func TestState_GetUint(t *testing.T) { function TestState_GetInt8 (line 144) | func TestState_GetInt8(t *testing.T) { function TestState_GetInt16 (line 163) | func TestState_GetInt16(t *testing.T) { function TestState_GetInt32 (line 182) | func TestState_GetInt32(t *testing.T) { function TestState_GetInt64 (line 201) | func TestState_GetInt64(t *testing.T) { function TestState_GetUint8 (line 220) | func TestState_GetUint8(t *testing.T) { function TestState_GetUint16 (line 239) | func TestState_GetUint16(t *testing.T) { function TestState_GetUint32 (line 258) | func TestState_GetUint32(t *testing.T) { function TestState_GetUint64 (line 277) | func TestState_GetUint64(t *testing.T) { function TestState_GetUintptr (line 296) | func TestState_GetUintptr(t *testing.T) { function TestState_GetFloat32 (line 316) | func TestState_GetFloat32(t *testing.T) { function TestState_GetComplex64 (line 335) | func TestState_GetComplex64(t *testing.T) { function TestState_GetComplex128 (line 355) | func TestState_GetComplex128(t *testing.T) { function TestState_MustGet (line 375) | func TestState_MustGet(t *testing.T) { function TestState_Has (line 389) | func TestState_Has(t *testing.T) { function TestState_Delete (line 398) | func TestState_Delete(t *testing.T) { function TestState_Reset (line 408) | func TestState_Reset(t *testing.T) { function TestState_Keys (line 419) | func TestState_Keys(t *testing.T) { function TestState_Keys_SkipsNonStringKeys (line 432) | func TestState_Keys_SkipsNonStringKeys(t *testing.T) { function TestState_Keys_SkipsNonStringKeys_WithMixedOrder (line 445) | func TestState_Keys_SkipsNonStringKeys_WithMixedOrder(t *testing.T) { function TestState_Len (line 457) | func TestState_Len(t *testing.T) { type testCase (line 473) | type testCase struct function runGenericTest (line 481) | func runGenericTest[T any](t *testing.T, getter func(*State, string) (T,... function TestState_GetGeneric (line 493) | func TestState_GetGeneric(t *testing.T) { function Test_MustGetStateGeneric (line 517) | func Test_MustGetStateGeneric(t *testing.T) { function Test_GetStateWithDefault (line 536) | func Test_GetStateWithDefault(t *testing.T) { function TestState_Service (line 553) | func TestState_Service(t *testing.T) { function TestState_GetService (line 726) | func TestState_GetService(t *testing.T) { function TestState_MustGetService (line 755) | func TestState_MustGetService(t *testing.T) { function BenchmarkState_Set (line 783) | func BenchmarkState_Set(b *testing.B) { function BenchmarkState_Get (line 796) | func BenchmarkState_Get(b *testing.B) { function BenchmarkState_GetString (line 815) | func BenchmarkState_GetString(b *testing.B) { function BenchmarkState_GetInt (line 834) | func BenchmarkState_GetInt(b *testing.B) { function BenchmarkState_GetBool (line 853) | func BenchmarkState_GetBool(b *testing.B) { function BenchmarkState_GetFloat64 (line 872) | func BenchmarkState_GetFloat64(b *testing.B) { function BenchmarkState_MustGet (line 891) | func BenchmarkState_MustGet(b *testing.B) { function BenchmarkState_GetStateGeneric (line 910) | func BenchmarkState_GetStateGeneric(b *testing.B) { function BenchmarkState_MustGetStateGeneric (line 929) | func BenchmarkState_MustGetStateGeneric(b *testing.B) { function BenchmarkState_GetStateWithDefault (line 948) | func BenchmarkState_GetStateWithDefault(b *testing.B) { function BenchmarkState_Has (line 967) | func BenchmarkState_Has(b *testing.B) { function BenchmarkState_Delete (line 984) | func BenchmarkState_Delete(b *testing.B) { function BenchmarkState_Reset (line 994) | func BenchmarkState_Reset(b *testing.B) { function BenchmarkState_Keys (line 1007) | func BenchmarkState_Keys(b *testing.B) { function BenchmarkState_Len (line 1021) | func BenchmarkState_Len(b *testing.B) { function BenchmarkState_GetUint (line 1035) | func BenchmarkState_GetUint(b *testing.B) { function BenchmarkState_GetInt8 (line 1052) | func BenchmarkState_GetInt8(b *testing.B) { function BenchmarkState_GetInt16 (line 1069) | func BenchmarkState_GetInt16(b *testing.B) { function BenchmarkState_GetInt32 (line 1086) | func BenchmarkState_GetInt32(b *testing.B) { function BenchmarkState_GetInt64 (line 1103) | func BenchmarkState_GetInt64(b *testing.B) { function BenchmarkState_GetUint8 (line 1120) | func BenchmarkState_GetUint8(b *testing.B) { function BenchmarkState_GetUint16 (line 1137) | func BenchmarkState_GetUint16(b *testing.B) { function BenchmarkState_GetUint32 (line 1154) | func BenchmarkState_GetUint32(b *testing.B) { function BenchmarkState_GetUint64 (line 1171) | func BenchmarkState_GetUint64(b *testing.B) { function BenchmarkState_GetUintptr (line 1188) | func BenchmarkState_GetUintptr(b *testing.B) { function BenchmarkState_GetFloat32 (line 1205) | func BenchmarkState_GetFloat32(b *testing.B) { function BenchmarkState_GetComplex64 (line 1222) | func BenchmarkState_GetComplex64(b *testing.B) { function BenchmarkState_GetComplex128 (line 1240) | func BenchmarkState_GetComplex128(b *testing.B) { function BenchmarkState_GetService (line 1258) | func BenchmarkState_GetService(b *testing.B) { function BenchmarkState_MustGetService (line 1270) | func BenchmarkState_MustGetService(b *testing.B) { FILE: storage_interface.go type Storage (line 10) | type Storage interface