Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)