open-consul/agent/grpc-middleware
Matt Keeler 554f1e6fee
Protobuf Modernization (#15949)
* Protobuf Modernization

Remove direct usage of golang/protobuf in favor of google.golang.org/protobuf

Marshallers (protobuf and json) needed some changes to account for different APIs.

Moved to using the google.golang.org/protobuf/types/known/* for the well known types including replacing some custom Struct manipulation with whats available in the structpb well known type package.

This also updates our devtools script to install protoc-gen-go from the right location so that files it generates conform to the correct interfaces.

* Fix go-mod-tidy make target to work on all modules
2023-01-11 09:39:10 -05:00
..
testutil Protobuf Modernization (#15949) 2023-01-11 09:39:10 -05:00
auth_interceptor.go Added check for empty peeringsni in restrictPeeringEndpoints (#15239) 2022-11-02 17:20:52 -05:00
auth_interceptor_test.go Added check for empty peeringsni in restrictPeeringEndpoints (#15239) 2022-11-02 17:20:52 -05:00
handshake.go Allow peering endpoints to bypass verify_incoming. 2022-10-31 09:56:30 -05:00
handshake_test.go Allow peering endpoints to bypass verify_incoming. 2022-10-31 09:56:30 -05:00
rate.go grpc: `protoc` plugin for generating gRPC rate limit specifications (#15564) 2023-01-04 16:07:02 +00:00
rate_limit_mappings.gen.go grpc: `protoc` plugin for generating gRPC rate limit specifications (#15564) 2023-01-04 16:07:02 +00:00
rate_test.go grpc: `protoc` plugin for generating gRPC rate limit specifications (#15564) 2023-01-04 16:07:02 +00:00
recovery.go grpc: `protoc` plugin for generating gRPC rate limit specifications (#15564) 2023-01-04 16:07:02 +00:00
stats.go gRPC server metrics (#14922) 2022-10-11 17:00:32 -05:00