Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 954 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 954 Bytes

PEng Group 7 - Summer term 2023 - examples

Topic: Hook in privacy capabilities for gRPC

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).