/grpc-template

a template repository of gRPC API server with grpc-gateway. grpc-go + grpc-gateway

Primary LanguageGo

grpc-custom-error-sample

a template repository of grpc-go + grpc-gateway

Features

Requirements

Usage

Build

  • make proto-build
  • make go-build

Run

  • launch cmd/api/api and cmd/gw/gw

Request example

  • curl localhost:8080/data?param=true

Repository layout

  • cmd
    • main applications
  • proto
    • proto files
  • app
    • internal packages