Marketplace

Kong

Other

Kong API-gateway routes driver.

togo-framework
bash
togo install togo-framework/dns-kong

Install

bash
togo install togo-framework/dns-kong

Kong API-gateway driver for togo's dns subsystem, driven through the Kong Admin API. Each route becomes a Kong service + route pair; gateway plugins (rate-limiting, auth, …) are applied from Route.Plugins.

Supabase

Kong is the gateway Supabase ships in front of its stack. Point routes at the Supabase Kong/Edge endpoints to expose Supabase services behind your own gateway, or run a standalone Kong in front of supabase plugins.

Config

Env
Meaning
DNS_DRIVERset to kong
KONG_ADMINAdmin API URL (default http://localhost:8001)
KONG_ADMIN_TOKENsent as Kong-Admin-Token (Kong Enterprise / RBAC)
Rows per page
1–3 of 3
Page 1 of 1
go
svc, _ := dns.FromKernel(k)
svc.UpsertRoute(ctx, dns.Route{
    Domain:   "api.example.com",
    Path:     "/v1",
    Upstream: "http://my-service:9000",
    Plugins:  map[string]any{"rate-limiting": map[string]any{"minute": 60}},
})

DNS records return dns.ErrUnsupported.


<div align="center"> <h3>Premium sponsors</h3> <p><a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a></p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>