Directories
¶
| Path | Synopsis |
|---|---|
|
Adapted from github.com/samber/do (MIT License).
|
Adapted from github.com/samber/do (MIT License). |
|
Package faultstatus contains Credo's default HTTP transport policy for transport-neutral semantic faults.
|
Package faultstatus contains Credo's default HTTP transport policy for transport-neutral semantic faults. |
|
Package health defines stable, bounded health probes and the module-internal seam through which integration packages contribute store checks to the root health engine.
|
Package health defines stable, bounded health probes and the module-internal seam through which integration packages contribute store checks to the root health engine. |
|
Package httpheader provides comma-separated header token helpers shared by the root package's HTTP features and the middleware package.
|
Package httpheader provides comma-separated header token helpers shared by the root package's HTTP features and the middleware package. |
|
Package httpwriter resolves optional net/http response-writer capabilities through bounded Unwrap chains.
|
Package httpwriter resolves optional net/http response-writer capabilities through bounded Unwrap chains. |
|
Package i18n is the internal message lookup engine for the Credo framework.
|
Package i18n is the internal message lookup engine for the Credo framework. |
|
Package observe provides shared helpers for request observation code such as access logging and panic recovery.
|
Package observe provides shared helpers for request observation code such as access logging and panic recovery. |
|
Package origin parses and matches web origins (scheme://host[:port]) with one strict grammar shared by every Credo surface that accepts an allow-list of origins (the WebSocket adapter, CORS).
|
Package origin parses and matches web origins (scheme://host[:port]) with one strict grammar shared by every Credo surface that accepts an allow-list of origins (the WebSocket adapter, CORS). |
|
Package pattern owns Credo's route-pattern grammar: {name} matches one path segment, {name:regex} constrains it, and {name...} captures the rest of the path.
|
Package pattern owns Credo's route-pattern grammar: {name} matches one path segment, {name:regex} constrains it, and {name...} captures the rest of the path. |
|
Package radix implements a compressed radix tree (Patricia trie) for HTTP request routing.
|
Package radix implements a compressed radix tree (Patricia trie) for HTTP request routing. |
|
Package requestid provides shared request ID helpers used by Credo's built-in and configurable middleware implementations.
|
Package requestid provides shared request ID helpers used by Credo's built-in and configurable middleware implementations. |
|
Package resourceid canonicalizes stable resource identity tokens shared by lifecycle-aware framework integrations.
|
Package resourceid canonicalizes stable resource identity tokens shared by lifecycle-aware framework integrations. |
|
Package static implements Credo's static file serving: path decoding and sanitization, index and SPA fallbacks, directory listings, Range-aware file delivery, and status-aware Cache-Control.
|
Package static implements Credo's static file serving: path decoding and sanitization, index and SPA fallbacks, directory listings, Range-aware file delivery, and status-aware Cache-Control. |
|
Package wirepath defines the canonical form in which the router compares a request path with registered patterns.
|
Package wirepath defines the canonical form in which the router compares a request path with registered patterns. |
Click to show internal directories.
Click to hide internal directories.