Skip to content

How to use v3 generated client as a HTTP client library? #2994

Answered by raphael
touhonoob asked this question in Q&A
Discussion options

You must be logged in to vote

The clue project includes a fully featured example comprised of three microservices: the front service which receives requests from the public internet via HTTP and the forecaster and locator services that serve gRPC requests coming from the front service (see diagram).

The front service implements two client packages, one for each service it makes requests to. For example the forecaster client package contains a Client struct which exposes a GetForecast method which makes a request to the downstream forecaster service.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@touhonoob
Comment options

Answer selected by touhonoob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants