$> rake
$> http://localhost:4001/v1/users_and_items -i # grpc-server
- サーバの起動
- grpc-gatewayサーバ
- grpcサーバ(本体)
- grpcサーバ(サービス1)
- grpcサーバ(サービス2)
- サーバ間gRPC通信
- 分散トランザクション実装
- sagaパターン
- DB処理
- gorp
- ログ出力
- logrus
- gatewayサーバ
- バリデーション
- RESTAPIのバリデーション(protobufの拡張)
- エラーハンドリング
- RESTAPIのエラーレスポンスをカスタマイズ
- バリデーション
- OpenAPI
go getコマンドでprotoファイルの拡張を使う場合にFile not foundエラーになるときは
/usr/local/Cellar/protobuf/${version}/include/validate/
配下にファイル配置する。
例:/usr/local/Cellar/protobuf/3.12.3/include/google/api/annotations.proto