-
It seems unclear to me how to use the generated client code as a HTTP client library to goa service.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The clue project includes a fully featured example comprised of three microservices: the The |
Beta Was this translation helpful? Give feedback.
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 theforecaster
andlocator
services that serve gRPC requests coming from thefront
service (see diagram).The
front
service implements two client packages, one for each service it makes requests to. For example theforecaster
client package contains a Client struct which exposes a GetForecast method which makes a request to the downstreamforecaster
service.