• Stars
    star
    631
  • Rank 71,222 (Top 2 %)
  • Language
    Go
  • License
    MIT License
  • Created about 3 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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