Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added health.consumer.goapp #13

Merged
merged 1 commit into from
Apr 18, 2021
Merged

Added health.consumer.goapp #13

merged 1 commit into from
Apr 18, 2021

Conversation

eum2o
Copy link
Contributor

@eum2o eum2o commented Apr 17, 2021

This pull request is related to #10.

It adds the new folder examples/health.consumer.goapp/ which implements a Go client consuming the HealthCheck example remote service.

I implemented this example following https://grpc.io/docs/languages/go/quickstart/. However, this was the first time I was writing code with Go, so some conventions might not be followed.

As stated in the examples/health.consumer.goapp/readme.md file, I had to add the go_package option to the health.proto file.

@scottslewis feel free to edit the pull request as required or to tell me what should be edited before it's merged (e.g. update the root's readme.md?). If you don't want this example at all for any reason (i.e. reject the pull request), it's fine to me too!


// Edit: Btw. I used Visual Studio Code for development (I started by watching https://www.youtube.com/watch?v=1MXIGYrMk80). It would have been nice to be able to develop everything in Eclipse (i.e. to have a .project file in the health.consumer.goapp folder) so that developers can import all HealthCheck related code (API, examples, ...) into the Eclipse Workspace. But all I found was Goclipse which is no longer maintained.

@scottslewis scottslewis merged commit 19fff3e into ECF:master Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants