aau-network-security / haaukins

A Highly Accessible and Automated Virtualization Platform for Security Education
https://general.haaukins.com
Apache License 2.0
187 stars 39 forks source link

Update grpc-go and protoc versions #653

Closed mrtrkmn closed 3 years ago

mrtrkmn commented 3 years ago

The version of protoc tool overdue (3.7.1) and the proto files are suitable with that version, however there are some improvements and new approach to create auto-generated go files in protocol buffers. It would make sense to update it at all services. To update existing tools in your local machine, it would be enough to install latest versions and apply go mod tidy.

$ go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
$ go get -u google.golang.org/grpc

For daemon struct on Haaukins project should be by adding pb.Daemon_Server or something like this to prevent having mustEmbedUnimplementedMethod.

mrtrkmn commented 3 years ago

merged #654