Performance-first core
A low-overhead router and middleware pipeline tuned for stable latency under load.
Go framework for production APIs
elgon stays close to net/http but ships with Spring Boot-like readiness: health, metrics, config, auth, and OpenAPI.
router ns/op
350
allocs/op
3
throughput
1.2M
Quick Start
app := elgon.New(elgon.Config{Addr: ":8080"})
app.Use(middleware.Recover(), middleware.RequestID())
app.GET("/health", func(c *elgon.Ctx) error {
return c.JSON(200, map[string]string{"status": "ok"})
})
log.Fatal(app.Run())Why elgon
A low-overhead router and middleware pipeline tuned for stable latency under load.
Health, metrics, secure defaults, and config validation ship as first-party modules.
Adopt auth, OpenAPI, jobs, and migrations independently as your system evolves.
Composable interfaces and predictable request flow make handlers and services easy to test.
Feature set
01
Core HTTP & Routing
02
Middleware
03
Errors
04
Validation & Binding
05
Auth
06
Observability
07
Config
08
DB + Migrations
09
Jobs
10
OpenAPI
11
CLI
12
Testing
13
Security Defaults
14
Benchmarks Module
Benchmarks
Keep regression checks in your CI and compare route latency, allocations, and throughput over time.
Allocations / op
3 allocs
Router ns / op
350 ns
Throughput
1.2M req/min
Quick start
Production readiness
Ecosystem