internal/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT

Directories

Path Synopsis
Package admin provides an HTTP API for health checks, statistics, configuration, and operational controls.
Package admin provides an HTTP API for health checks, statistics, configuration, and operational controls.
Package audit provides slow query logging and webhook-based audit event delivery.
Package audit provides slow query logging and webhook-based audit event delivery.
Package cache implements an in-memory LRU cache with TTL and table-level invalidation for query results.
Package cache implements an in-memory LRU cache with TTL and table-level invalidation for query results.
Package config handles loading and validating pgmux YAML configuration files.
Package config handles loading and validating pgmux YAML configuration files.
Package dataapi exposes a RESTful HTTP interface for executing SQL queries against the proxy.
Package dataapi exposes a RESTful HTTP interface for executing SQL queries against the proxy.
Package digest tracks top-N query patterns by frequency and latency.
Package digest tracks top-N query patterns by frequency and latency.
Package metrics defines Prometheus metrics for monitoring proxy operations.
Package metrics defines Prometheus metrics for monitoring proxy operations.
Package mirror sends query traffic to a shadow database for comparison testing.
Package mirror sends query traffic to a shadow database for comparison testing.
Package pool provides a thread-safe connection pool for PostgreSQL backend connections with health checking and idle timeout.
Package pool provides a thread-safe connection pool for PostgreSQL backend connections with health checking and idle timeout.
Package protocol implements the PostgreSQL wire protocol message encoding and decoding.
Package protocol implements the PostgreSQL wire protocol message encoding and decoding.
Package proxy implements the PostgreSQL proxy server that handles client connections, routes queries, and manages connection pooling.
Package proxy implements the PostgreSQL proxy server that handles client connections, routes queries, and manages connection pooling.
Package redact provides SQL query redaction to mask sensitive literals in logs and traces.
Package redact provides SQL query redaction to mask sensitive literals in logs and traces.
Package resilience provides rate limiting and circuit breaker patterns for backend protection.
Package resilience provides rate limiting and circuit breaker patterns for backend protection.
Package router provides query classification and routing to determine whether queries should be sent to writer or reader backends.
Package router provides query classification and routing to determine whether queries should be sent to writer or reader backends.
Package telemetry provides OpenTelemetry tracing integration.
Package telemetry provides OpenTelemetry tracing integration.

Jump to

Keyboard shortcuts

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