Directories
¶
| Path | Synopsis |
|---|---|
|
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 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 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 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 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 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 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 redact provides common helpers for masking sensitive values in log output.
|
Package redact provides common helpers for masking sensitive values in log output. |
|
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. |
Click to show internal directories.
Click to hide internal directories.