woodpecker/agent/rpc
6543 92614dfb1e
Agent check gRPC version against server (#1653)
close #1114

As long as the `VersionResponse` type is not changed the check will
fail/pass gracefully

example output:
```
{"level":"error","error":"GRPC version mismatch","time":"2023-03-19T19:49:09+01:00","message":"Server version next-6923e7ab does report grpc version 2 but we only understand 1"}
GRPC version mismatch
```
2023-03-19 22:42:21 +01:00
..
auth_client_grpc.go Store an agents list and add agent heartbeats (#1189) 2023-01-28 14:13:04 +01:00
auth_interceptor.go Store an agents list and add agent heartbeats (#1189) 2023-01-28 14:13:04 +01:00
client_grpc.go Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00