update grpc, service: implements reflection.GRPCService

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2022-03-11 13:42:02 +01:00
parent 08a67bf162
commit 2832f13f3c
5 changed files with 105 additions and 144 deletions

View File

@ -7,6 +7,10 @@ import (
"go.linka.cloud/grpc/interceptors"
)
var (
Register = grpc_prometheus.Register
)
type metrics struct {
s *grpc_prometheus.ServerMetrics
c *grpc_prometheus.ClientMetrics