core/

directory
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0

Directories

Path Synopsis
Package app wires the HTTP server, module registration, and lifecycle management.
Package app wires the HTTP server, module registration, and lifecycle management.
Package auth provides authentication context types and goAuth provider integration.
Package auth provides authentication context types and goAuth provider integration.
Package cache implements Redis-backed response caching and cache key generation utilities.
Package cache implements Redis-backed response caching and cache key generation utilities.
Package config loads, normalizes, and validates runtime configuration from environment variables.
Package config loads, normalizes, and validates runtime configuration from environment variables.
db
Package db provides Postgres connectivity and migrations for storage backends.
Package db provides Postgres connectivity and migrations for storage backends.
Package errors defines typed application errors used for consistent API responses.
Package errors defines typed application errors used for consistent API responses.
Package httpx contains HTTP adapters, middleware, and router helpers used by modules.
Package httpx contains HTTP adapters, middleware, and router helpers used by modules.
Package logx wraps structured logging setup and logger configuration.
Package logx wraps structured logging setup and logger configuration.
Package metrics provides Prometheus instrumentation for HTTP, readiness, and policy signals.
Package metrics provides Prometheus instrumentation for HTTP, readiness, and policy signals.
Package modulekit provides module-safe accessors for runtime dependencies.
Package modulekit provides module-safe accessors for runtime dependencies.
Package netx contains network helpers such as trusted client IP extraction.
Package netx contains network helpers such as trusted client IP extraction.
Package params provides normalized request parameter helper functions.
Package params provides normalized request parameter helper functions.
Package policy provides route-level middleware for auth, RBAC, tenant checks, rate limiting, and cache control.
Package policy provides route-level middleware for auth, RBAC, tenant checks, rate limiting, and cache control.
Package ratelimit implements Redis-backed rate limiting primitives and keying strategies.
Package ratelimit implements Redis-backed rate limiting primitives and keying strategies.
Package readiness aggregates dependency health into a sanitized readiness report.
Package readiness aggregates dependency health into a sanitized readiness report.
Package requestid defines request-id context storage and retrieval helpers.
Package requestid defines request-id context storage and retrieval helpers.
Package response writes API envelopes and error payloads with centralized sanitization.
Package response writes API envelopes and error payloads with centralized sanitization.
Package storage defines the enforced data-layer contracts used by repositories.
Package storage defines the enforced data-layer contracts used by repositories.
Package tenant provides tenant-scope utilities used by auth and policy layers.
Package tenant provides tenant-scope utilities used by auth and policy layers.
Package tracing configures OpenTelemetry provider lifecycle for the API process.
Package tracing configures OpenTelemetry provider lifecycle for the API process.

Jump to

Keyboard shortcuts

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