A small project to learn about gRPC. Following topics are covered in this project:
- Protobufs
- gRPC go Server - server, client and bi-directional streaming
- gRPC go Client - server, client and bi-directional streaming
- gRPC python Client - server, client and bi-directional streaming
- Server side interceptors (for JWT based auth)
- Client side interceptors (for JWT based auth)
- TLS/SSL config (server auth, didn't try mutual auth for this project)
Run
make gencert
to generate cert locally or modify thecmd/client.go
andcmd/server.go
to use insecure creds.
If you want to look around, start from the cmd
directory.