ait-gcp-go-grpc

module
v0.0.0-...-e9967f5 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MIT

README

ait-gcp-go-grpc

How to Build and Deploy Production-Grade Web Services with gRPC/OpenAPI with Go, Firebase, Firestore, API Gateway, Load Balancing and CloudRun Vol II.

Source code for the book.

ait-gcp-go-grpc

.
├── LICENSE
├── Makefile
├── README.md
├── api
│   ├── server
│   │   ├── Dockerfile
│   │   ├── go.mod
│   │   ├── go.sum
│   │   ├── main.go
│   │   ├── main_test.go
│   │   └── server
│   └── v1
│       └── service.proto
├── docs
│   └── openapi.yaml
├── rpc
│   ├── service.pb.go
│   └── service_grpc.pb.go
├── tools
│   ├── DEPLOY-server.sh
│   ├── GENERATE-GRPC.sh
│   ├── GENERATE-OPENAPI.sh
│   ├── GENERATE-server.sh
│   ├── PROJECT-activate.sh
│   ├── PROTOC-VERSION.sh
│   ├── PROTOS.sh
│   └── TEST-server.sh

Usage:

    make protos 

Generating Go gRPC client/server:

GENERATE-GRPC.sh

├── rpc
│   ├── service.pb.go
│   └── service_grpc.pb.go

generate grpc YAML file

├── docs │   └── openapi.yaml

from .proto

│   └── v1
│       └── service.proto

Directories

Path Synopsis
api
v1/api Module
v1/models Module
cmd
cli_grpc Module
srv Module
srv_grpc Module
rpc
v1/pb Module

Jump to

Keyboard shortcuts

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