protoc-gen-gin-http

command module
v0.0.0-...-0606431 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 13 Imported by: 0

README

A protoc plugin to generate gin HTTP handlers from proto files. This will generate a .gin.http.pb.go file for each .proto file.

By using this plugin, once you wrote your .proto file, you can generate its gin HTTP handlers, which contains the routes and the request and response types defined in the .proto file. You will only need to focus on handling the request and response logic.

example

This plugin is developed based on the go-kratos project:

https://github.com/go-kratos/kratos/tree/main/cmd/protoc-gen-go-http

Thanks for your jobs.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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