The-DevOps-Daily/pg-wire-mock

Add middleware system for request/response interception

Open

#116 opened on Oct 13, 2025

View on GitHub
 (2 comments) (0 reactions) (1 assignee)JavaScript (15 forks)github user discovery
enhancementhacktoberfest

Repository metrics

Stars
 (26 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Goal: Create a middleware architecture for extending server functionality without core modifications.

Capabilities:

  • Intercept and modify queries before processing
  • Transform responses before sending to clients
  • Add custom logging or monitoring hooks
  • Implement custom authentication logic
  • Plugin system for third-party extensions

Use cases: Custom query transformations, advanced logging, metrics collection, custom auth providers.

Contributor guide