Slide 10
Slide 10 text
Connectはサービスインターフェースとボイラープレートを⽣成する
10
https://connectrpc.com/docs/go/getting-started
● Protobufスキーマから以下を⽣成する
○ サービスのインターフェース
○ サービスを動作させるConnect
サーバ(http サーバと思ってここ
では⼗分)
● リクエストのマーシャルとルーティングを
Connectがやってくれる
● 開発者はインターフェースを満たすサービス
(ビジネスロジック)を実装すれば良い
Connect is a slim library for building browser-
and gRPC-compatible HTTP APIs. You define
your service with a Protocol Buffer schema,
and Connect generates type-safe server
and client code. Fill in your server's
business logic and you're done — no
hand-written marshaling, routing, or client
code required!
(Connectのドキュメントから抜粋)