Skip to content
/ gateway Public
forked from go-kratos/gateway

A high-performance API Gateway with middlewares, supporting HTTP and gRPC protocols.

License

Notifications You must be signed in to change notification settings

52im/gateway

 
 

Repository files navigation

Gateway

Build Status codecov

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

About

A high-performance API Gateway with middlewares, supporting HTTP and gRPC protocols.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.3%
  • Other 0.7%