Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/code-hex/testing-grpc
go-grpc server, client for onboarding
https://github.com/code-hex/testing-grpc
beginner client go golang grpc learning server testing-grpc
Last synced: 15 days ago
JSON representation
go-grpc server, client for onboarding
- Host: GitHub
- URL: https://github.com/code-hex/testing-grpc
- Owner: Code-Hex
- License: mit
- Created: 2020-08-05T14:38:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-17T13:51:54.000Z (over 1 year ago)
- Last Synced: 2024-10-04T13:09:30.343Z (about 1 month ago)
- Topics: beginner, client, go, golang, grpc, learning, server, testing-grpc
- Language: Go
- Homepage:
- Size: 193 KB
- Stars: 23
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# testing-grpc
A server and client developed to understand the behavior of gRPC. Mainly intended to be useful for application development using gRPC.
[![asciicast](https://asciinema.org/a/352507.svg)](https://asciinema.org/a/352507)
(ascii-art is generated by [neo-cowsay](https://github.com/Code-Hex/neo-cowsay))
## build```
$ make build# startup server (default port 3000)
$ ./bin/server# startup client (default port 3000)
$ ./bin/client
```If you want to change port, you can change the environment variable of `PORT`. and you can use `.env` file :D
## supported
- Unary
- [x] status
- [x] error details
- [x] metadata
- [x] [health check](https://github.com/grpc/grpc-go/tree/master/examples/features/health)
- [x] interceptor
- [x] stats
- If you want to disable logging, please set `LOG_LEVEL` to `INFO`. see `.env` file.
- [ ] channelz## gRPC documents
- [gRPC Concepts Overview](https://github.com/grpc/grpc/blob/master/CONCEPTS.md)
- [Error Handling – gRPC](https://grpc.io/docs/guides/error/)
- [grpc/grpc documents](https://github.com/grpc/grpc/tree/master/doc)
- [go-grpc Learn More](https://github.com/grpc/grpc-go#learn-more)
- [Low-level technical docs](https://github.com/grpc/grpc-go/tree/master/Documentation)
- [features example](https://github.com/grpc/grpc-go/tree/master/examples/features)
- [Language Guide (proto3)](https://developers.google.com/protocol-buffers/docs/proto3)