https://github.com/go-kratos/gateway
A high-performance API Gateway with middlewares, supporting HTTP and gRPC protocols.
https://github.com/go-kratos/gateway
api api-gateway gateway grpc http microservices reverse-proxy
Last synced: 28 days ago
JSON representation
A high-performance API Gateway with middlewares, supporting HTTP and gRPC protocols.
- Host: GitHub
- URL: https://github.com/go-kratos/gateway
- Owner: go-kratos
- License: mit
- Created: 2021-09-13T04:06:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T06:39:33.000Z (about 1 month ago)
- Last Synced: 2025-04-07T19:06:36.149Z (about 1 month ago)
- Topics: api, api-gateway, gateway, grpc, http, microservices, reverse-proxy
- Language: Go
- Homepage:
- Size: 608 KB
- Stars: 735
- Watchers: 25
- Forks: 151
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gateway
[](https://github.com/go-kratos/gateway/actions/workflows/go.yml)
[](https://codecov.io/gh/go-kratos/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