Skip to main content

Tainha Gateway

Lightweight API Gateway written in Go

Get StartedGitHub

Simple Configuration

Define routes, auth, and mappings in a single YAML file. No code required to set up your gateway.

JWT Authentication

Built-in JWT validation with HS256, or delegate to your own auth service. Protect routes with a single flag.

Response Mapping

Enrich API responses by aggregating data from multiple services automatically with parallel requests.

SSE Support

Native Server-Sent Events passthrough for real-time streaming between clients and backends.

Auth Delegation

Bring your own auth service. Tainha validates tokens by calling your service — use any auth strategy you want.

Lightweight

Single binary, minimal dependencies. Built with Go for performance and simplicity.