Directories
¶
| Path | Synopsis |
|---|---|
|
Package appconfig hands request hot paths the few Config bits they read on every call, without the copy App.Config returns by value.
|
Package appconfig hands request hot paths the few Config bits they read on every call, without the copy App.Config returns by value. |
|
Package byterange adds the Range and If-Range rules (RFC 9110 §13.1.5, §14.2) that fasthttp's file server lacks: it refuses several ranges with 416, takes only a lower-case "bytes" unit, applies Range to HEAD and ignores If-Range.
|
Package byterange adds the Range and If-Range rules (RFC 9110 §13.1.5, §14.2) that fasthttp's file server lacks: it refuses several ranges with 416, takes only a lower-case "bytes" unit, applies Range to HEAD and ignores If-Range. |
|
Package clocktest lets tests wait on the cached, second-granularity clock that fiber's memory storages and rate-limit windows are measured against.
|
Package clocktest lets tests wait on the cached, second-granularity clock that fiber's memory storages and rate-limit windows are measured against. |
|
Package cookie centralizes cookie policy shared by Fiber core and middleware.
|
Package cookie centralizes cookie policy shared by Fiber core and middleware. |
|
Package crosshost names the request headers that must not survive a redirect to a host other than the one they were sent to.
|
Package crosshost names the request headers that must not survive a redirect to a host other than the one they were sent to. |
|
Package ctxlocal stores request locals without the allocation a variadic Locals call through the Ctx interface costs.
|
Package ctxlocal stores request locals without the allocation a variadic Locals call through the Ctx interface costs. |
|
Package etag parses and compares HTTP entity tags (RFC 9110 Section 8.8.3).
|
Package etag parses and compares HTTP entity tags (RFC 9110 Section 8.8.3). |
|
Package fieldname reads and removes HTTP header fields by name case-insensitively (RFC 9110 §5.1).
|
Package fieldname reads and removes HTTP header fields by name case-insensitively (RFC 9110 §5.1). |
|
Package headerlist walks the comma-separated list values that RFC 9110 Section 5.6.1 defines, and joins the field lines that Section 5.3 says are equivalent to one.
|
Package headerlist walks the comma-separated list values that RFC 9110 Section 5.6.1 defines, and joins the field lines that Section 5.3 says are equivalent to one. |
|
Package headerlookup answers, for a caller holding a fiber.Ctx, the two questions the byte-exact header API cannot: whether the stored field names are canonical, and what a named request header holds if they are not.
|
Package headerlookup answers, for a caller holding a fiber.Ctx, the two questions the byte-exact header API cannot: whether the stored field names are canonical, and what a named request header holds if they are not. |
|
Package idnafold converts a Unicode hostname label to the Punycode form a browser puts on the wire (RFC 5891), so a hostname literal written in source still matches the requests that name actually generates.
|
Package idnafold converts a Unicode hostname label to the Punycode form a browser puts on the wire (RFC 5891), so a hostname literal written in source still matches the requests that name actually generates. |
|
Package loggertest provides shared helpers for the middleware ctx-logger integration tests.
|
Package loggertest provides shared helpers for the middleware ctx-logger integration tests. |
|
Package mediatype parses media types and their parameters (RFC 9110 Section 8.3.1), and canonicalizes the case-insensitive parts of a request's Content-Type, so the case-sensitive parsers downstream — fasthttp's form and multipart readers above all — see the value they expect.
|
Package mediatype parses media types and their parameters (RFC 9110 Section 8.3.1), and canonicalizes the case-insensitive parts of a request's Content-Type, so the case-sensitive parsers downstream — fasthttp's form and multipart readers above all — see the value they expect. |
|
Package memory provides a high-performance in-memory storage that can store any type without encoding overhead.
|
Package memory provides a high-performance in-memory storage that can store any type without encoding overhead. |
|
Package origin validates and matches the serialized origins that the CORS and CSRF middleware compare against their configured allow lists.
|
Package origin validates and matches the serialized origins that the CORS and CSRF middleware compare against their configured allow lists. |
|
Package paramdelim holds the byte set that ends a ":name" placeholder in a path.
|
Package paramdelim holds the byte set that ends a ":name" placeholder in a path. |
|
Package quotedstring encodes values placed inside HTTP quoted strings.
|
Package quotedstring encodes values placed inside HTTP quoted strings. |
|
Package redact provides common helpers for masking sensitive values in log output.
|
Package redact provides common helpers for masking sensitive values in log output. |
|
Package rulematch provides capture substitution shared by redirect and rewrite rules.
|
Package rulematch provides capture substitution shared by redirect and rewrite rules. |
|
Package schemehost compares the scheme and host of two URLs for same-origin checks.
|
Package schemehost compares the scheme and host of two URLs for same-origin checks. |
|
storage
|
|
|
memory
Package memory Is a copy of the storage memory from the external storage packet as a purpose to test the behavior in the unittests when using a storages from these packets
|
Package memory Is a copy of the storage memory from the external storage packet as a purpose to test the behavior in the unittests when using a storages from these packets |
|
Package urlnorm applies the parts of the WHATWG URL parser's input handling a guard must apply before judging a URL Fiber is about to emit.
|
Package urlnorm applies the parts of the WHATWG URL parser's input handling a guard must apply before judging a URL Fiber is about to emit. |
|
Package wiretarget spells the path the router matched the way a request line carries it, for middleware that hands the request on to something that reads request lines: a proxy upstream, a net/http handler.
|
Package wiretarget spells the path the router matched the way a request line carries it, for middleware that hands the request on to something that reads request lines: a proxy upstream, a net/http handler. |
Click to show internal directories.
Click to hide internal directories.