Gateway
A high-performance API Gateway with middlewares, supporting HTTP and gRPC protocols.
Install / Use
/learn @go-kratos/GatewayREADME
Gateway
HTTP -> Proxy -> Router -> Middleware -> Client -> Selector -> Node
Protocol
- HTTP -> HTTP
- HTTP -> gRPC
- gRPC -> gRPC
Encoding
- Protobuf Schemas
Endpoint
- prefix: /api/echo/*
- path: /api/echo/hello
- regex: /api/echo/[a-z]+
- restful: /api/echo/{name}
Middleware
- cors
- auth
- color
- logging
- tracing
- metrics
- ratelimit
- datacenter
Related Skills
gh-issues
341.8kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
oracle
341.8kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
tmux
341.8kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
xurl
341.8kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
