Find first steps in the ./playground/interceptors directory. As of right now it's a modified version of the go-grpc-middleware Repo. To to run,
cd playground/interceptors/examples
go run server/main.go
go run client/main.go
Wait a few seconds and then stop the server (ctrl + C
).
Changes to server/main.go:
- removed existing interceptors
- added own interceptor
- added own selector.MatchFunc
Simple example for how to modify the server's response using a gRPC interceptor. Implements data minimzation in forms of reduction, noising & generalization.
We used this repository for early stage evaluations and testing (mainly in the performance branch).