gRPC-Gateway is a plugin of protoc. It reads a gRPC service definition and generates a reverse-proxy server which translates a RESTful JSON API into gRPC. This server is generated according to custom options in your gRPC definition. gRPC-Gateway helps you to provide your APIs in both gRPC and RESTful style at the same time. gRPC is great -- it generates API clients and server stubs in many programming languages, it is fast, easy to use, and bandwidth-efficient and its design is combat-proven by Google. However, you might still want to provide a traditional RESTful JSON API as well. Reasons can range from maintaining backward compatibility, supporting languages or clients that are not well supported by gRPC, to simply maintaining the aesthetics and tooling involved with a RESTful JSON architecture. This project aims to provide that HTTP+JSON interface to your gRPC service.

Features

  • Helps you provide your APIs in both gRPC and RESTful style at the same time
  • Generates API clients and server stubs in many programming languages
  • It is fast, easy-to-use, bandwidth-efficient and its design is combat-proven by Google
  • This project aims to provide that HTTP+JSON interface to your gRPC service
  • A small amount of configuration in your service to attach HTTP semantics is all that's needed to generate a reverse-proxy with this library
  • Compile from source

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow gRPC-Gateway

gRPC-Gateway Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of gRPC-Gateway!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks, Go Proxy Servers, Go Reverse Proxy Server

Registered

2023-01-03