1.3 KiB
1.3 KiB
SecNex API Gateway Documentation
Welcome to the official documentation for the SecNex API Gateway.
Overview
SecNex API Gateway is a high-performance, configurable API gateway built in Go. It provides reverse proxy capabilities with path-based routing, prefix stripping, and structured logging.
Quick Start
# Run locally
cd app
go run main.go
# Run with Docker
docker compose up -d
Documentation
- Architecture - System architecture and component design
- Configuration - Configuration reference and examples
- Usage - How to use the gateway
- Development - Development setup and guide
- Deployment - Deployment instructions
Features
- Reverse Proxy Route requests to backend services
- Path-based Routing Configurable route patterns with chi/v5
- Prefix Stripping Remove path prefixes before proxying
- Host-based Routing Virtual hosting support
- Middleware Pipeline Extensible middleware chain (request ID, real IP, logging)
- Logging Structured JSON logging with sensitive field pseudonymization
Health Check
The gateway provides a health check endpoint:
GET /_/health
Returns 200 OK when the gateway is running.