proto

module
v0.0.0-...-dd3bfa9 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT

README

Proto

Define the proto files for all microservices. We use google/api/annotations.proto to achieve HTTP to GRPC. If you want to expose a GRPC endpoint to the outside, you need to add the google.api.http annotation to the GRPC endpoint, for example: option (google.api.http) = {get: "/v1/user"}, you can get more usages from here.

Build Proto Files

You need to build proto files after you modify them, you can use the following commands to build them:

# Build all microservices proto files.
make all

# Build UserService
make user

# Build GatewayService
make gateway

# Build BusinessService
make business

Directories

Path Synopsis
Package _package is a reverse proxy.
Package _package is a reverse proxy.
Package user is a reverse proxy.
Package user is a reverse proxy.

Jump to

Keyboard shortcuts

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