protoc-gen-apigw

command module
v0.1.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

protoc-gen-apigw

protoc-gen-apigw is a plugin for the Google protocol buffer compiler to generate a Go server which implements gRPC service interfaces and a REST gateway.

It is inspired by utrack/clay and grpc-gateway), but uses a different approach to bridging HTTP Requests to gRPC calls.

Features include:

  • Can use existing gRPC service definitions and generate a REST gateway for them.
  • Can use existing gRPC Middlewares.
  • Router-shim layer: Can be easily used with other HTTP Routers or Muxers in the HTTP Ecorystem. Gin based integration is standlone of the core project and about.

Many TODOs are remaining, but the basic bridging works.

License

protc-gen-apigw is licensed under the Apache License 2.0. See LICENSE for the full license text.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
apigw module
v1
example module
bookstore/v1
Code generated by protoc-gen-apigw 0.1.28 from bookstore/v1/bookstore.proto.
Code generated by protoc-gen-apigw 0.1.28 from bookstore/v1/bookstore.proto.
internal
routers
ginapi Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL