From 82d2f9fa141c05015005ac5dee0408a472339523 Mon Sep 17 00:00:00 2001 From: yux0 Date: Tue, 6 Sep 2022 13:03:28 -0700 Subject: [PATCH] Use laste forked proto from master --- api/adminservice/v1/service.pb.go | 6 +++--- api/historyservice/v1/service.pb.go | 6 +++--- api/matchingservice/v1/service.pb.go | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api/adminservice/v1/service.pb.go b/api/adminservice/v1/service.pb.go index 61cb44b7c33..17991fd327f 100644 --- a/api/adminservice/v1/service.pb.go +++ b/api/adminservice/v1/service.pb.go @@ -113,7 +113,7 @@ var fileDescriptor_cf5ca5e0c737570d = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -185,10 +185,10 @@ type AdminServiceClient interface { } type adminServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewAdminServiceClient(cc *grpc.ClientConn) AdminServiceClient { +func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient { return &adminServiceClient{cc} } diff --git a/api/historyservice/v1/service.pb.go b/api/historyservice/v1/service.pb.go index a85aaa58ddc..e2a13d403ec 100644 --- a/api/historyservice/v1/service.pb.go +++ b/api/historyservice/v1/service.pb.go @@ -137,7 +137,7 @@ var fileDescriptor_655983da427ae822 = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -310,10 +310,10 @@ type HistoryServiceClient interface { } type historyServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewHistoryServiceClient(cc *grpc.ClientConn) HistoryServiceClient { +func NewHistoryServiceClient(cc grpc.ClientConnInterface) HistoryServiceClient { return &historyServiceClient{cc} } diff --git a/api/matchingservice/v1/service.pb.go b/api/matchingservice/v1/service.pb.go index d80a788ea1e..bcef4f139cf 100644 --- a/api/matchingservice/v1/service.pb.go +++ b/api/matchingservice/v1/service.pb.go @@ -94,7 +94,7 @@ var fileDescriptor_1a5c83076e651916 = []byte{ // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -146,10 +146,10 @@ type MatchingServiceClient interface { } type matchingServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewMatchingServiceClient(cc *grpc.ClientConn) MatchingServiceClient { +func NewMatchingServiceClient(cc grpc.ClientConnInterface) MatchingServiceClient { return &matchingServiceClient{cc} }