internal/

directory
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: MIT

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 readiness engine the root package runs them through.
Package health defines stable, bounded health probes and the readiness engine the root package runs them through.
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: sanitization of the router-decoded path, index and SPA fallbacks, directory listings, Range-aware file delivery, and status-aware Cache-Control.
Package static implements Credo's static file serving: sanitization of the router-decoded path, 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.
Package worker is the engine behind the root package's workers: the run loop of each kind, the restart backoff, the run outcome classification, the schedule loop and the cron parser.
Package worker is the engine behind the root package's workers: the run loop of each kind, the restart backoff, the run outcome classification, the schedule loop and the cron parser.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL