diff --git a/go.mod b/go.mod index 49c9481..5d07f20 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( go.etcd.io/etcd/server/v3 v3.6.6 go.uber.org/zap v1.27.1 google.golang.org/grpc v1.77.0 - google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 + google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.6.0 google.golang.org/protobuf v1.36.10 ) diff --git a/go.sum b/go.sum index b4fe787..b957331 100644 --- a/go.sum +++ b/go.sum @@ -231,8 +231,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20251022142026-3a174f9686a8 h1: google.golang.org/genproto/googleapis/rpc v0.0.0-20251022142026-3a174f9686a8/go.mod h1:7i2o+ce6H/6BluujYR+kqX3GKH+dChPTQU19wjRPiGk= google.golang.org/grpc v1.77.0 h1:wVVY6/8cGA6vvffn+wWK5ToddbgdU3d8MNENr4evgXM= google.golang.org/grpc v1.77.0/go.mod h1:z0BY1iVj0q8E1uSQCjL9cppRj+gnZjzDnzV0dHhrNig= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 h1:F29+wU6Ee6qgu9TddPgooOdaqsxTMunOoj8KA5yuS5A= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1/go.mod h1:5KF+wpkbTSbGcR9zteSqZV6fqFOWBl4Yde8En8MryZA= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.6.0 h1:6Al3kEFFP9VJhRz3DID6quisgPnTeZVr4lep9kkxdPA= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.6.0/go.mod h1:QLvsjh0OIR0TYBeiu2bkWGTJBUNQ64st52iWj/yA93I= google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE= google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/grpc_backend_grpc.pb.go b/grpc_backend_grpc.pb.go index 9f690fc..6f8c1c9 100644 --- a/grpc_backend_grpc.pb.go +++ b/grpc_backend_grpc.pb.go @@ -81,7 +81,7 @@ type RpcBackendServer interface { type UnimplementedRpcBackendServer struct{} func (UnimplementedRpcBackendServer) GetSessionCount(context.Context, *GetSessionCountRequest) (*GetSessionCountReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSessionCount not implemented") + return nil, status.Error(codes.Unimplemented, "method GetSessionCount not implemented") } func (UnimplementedRpcBackendServer) mustEmbedUnimplementedRpcBackendServer() {} func (UnimplementedRpcBackendServer) testEmbeddedByValue() {} @@ -94,7 +94,7 @@ type UnsafeRpcBackendServer interface { } func RegisterRpcBackendServer(s grpc.ServiceRegistrar, srv RpcBackendServer) { - // If the following call pancis, it indicates UnimplementedRpcBackendServer was + // If the following call panics, it indicates UnimplementedRpcBackendServer was // embedded by pointer and is nil. This will cause panics if an // unimplemented method is ever invoked, so we test this at initialization // time to prevent it from happening at runtime later due to I/O. diff --git a/grpc_internal_grpc.pb.go b/grpc_internal_grpc.pb.go index ace5174..9899a97 100644 --- a/grpc_internal_grpc.pb.go +++ b/grpc_internal_grpc.pb.go @@ -94,10 +94,10 @@ type RpcInternalServer interface { type UnimplementedRpcInternalServer struct{} func (UnimplementedRpcInternalServer) GetServerId(context.Context, *GetServerIdRequest) (*GetServerIdReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetServerId not implemented") + return nil, status.Error(codes.Unimplemented, "method GetServerId not implemented") } func (UnimplementedRpcInternalServer) GetTransientData(context.Context, *GetTransientDataRequest) (*GetTransientDataReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTransientData not implemented") + return nil, status.Error(codes.Unimplemented, "method GetTransientData not implemented") } func (UnimplementedRpcInternalServer) mustEmbedUnimplementedRpcInternalServer() {} func (UnimplementedRpcInternalServer) testEmbeddedByValue() {} @@ -110,7 +110,7 @@ type UnsafeRpcInternalServer interface { } func RegisterRpcInternalServer(s grpc.ServiceRegistrar, srv RpcInternalServer) { - // If the following call pancis, it indicates UnimplementedRpcInternalServer was + // If the following call panics, it indicates UnimplementedRpcInternalServer was // embedded by pointer and is nil. This will cause panics if an // unimplemented method is ever invoked, so we test this at initialization // time to prevent it from happening at runtime later due to I/O. diff --git a/grpc_mcu_grpc.pb.go b/grpc_mcu_grpc.pb.go index 3b37591..af6565c 100644 --- a/grpc_mcu_grpc.pb.go +++ b/grpc_mcu_grpc.pb.go @@ -81,7 +81,7 @@ type RpcMcuServer interface { type UnimplementedRpcMcuServer struct{} func (UnimplementedRpcMcuServer) GetPublisherId(context.Context, *GetPublisherIdRequest) (*GetPublisherIdReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetPublisherId not implemented") + return nil, status.Error(codes.Unimplemented, "method GetPublisherId not implemented") } func (UnimplementedRpcMcuServer) mustEmbedUnimplementedRpcMcuServer() {} func (UnimplementedRpcMcuServer) testEmbeddedByValue() {} @@ -94,7 +94,7 @@ type UnsafeRpcMcuServer interface { } func RegisterRpcMcuServer(s grpc.ServiceRegistrar, srv RpcMcuServer) { - // If the following call pancis, it indicates UnimplementedRpcMcuServer was + // If the following call panics, it indicates UnimplementedRpcMcuServer was // embedded by pointer and is nil. This will cause panics if an // unimplemented method is ever invoked, so we test this at initialization // time to prevent it from happening at runtime later due to I/O. diff --git a/grpc_sessions_grpc.pb.go b/grpc_sessions_grpc.pb.go index 8b9c6a1..dc2173a 100644 --- a/grpc_sessions_grpc.pb.go +++ b/grpc_sessions_grpc.pb.go @@ -136,19 +136,19 @@ type RpcSessionsServer interface { type UnimplementedRpcSessionsServer struct{} func (UnimplementedRpcSessionsServer) LookupResumeId(context.Context, *LookupResumeIdRequest) (*LookupResumeIdReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method LookupResumeId not implemented") + return nil, status.Error(codes.Unimplemented, "method LookupResumeId not implemented") } func (UnimplementedRpcSessionsServer) LookupSessionId(context.Context, *LookupSessionIdRequest) (*LookupSessionIdReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method LookupSessionId not implemented") + return nil, status.Error(codes.Unimplemented, "method LookupSessionId not implemented") } func (UnimplementedRpcSessionsServer) IsSessionInCall(context.Context, *IsSessionInCallRequest) (*IsSessionInCallReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method IsSessionInCall not implemented") + return nil, status.Error(codes.Unimplemented, "method IsSessionInCall not implemented") } func (UnimplementedRpcSessionsServer) GetInternalSessions(context.Context, *GetInternalSessionsRequest) (*GetInternalSessionsReply, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInternalSessions not implemented") + return nil, status.Error(codes.Unimplemented, "method GetInternalSessions not implemented") } func (UnimplementedRpcSessionsServer) ProxySession(grpc.BidiStreamingServer[ClientSessionMessage, ServerSessionMessage]) error { - return status.Errorf(codes.Unimplemented, "method ProxySession not implemented") + return status.Error(codes.Unimplemented, "method ProxySession not implemented") } func (UnimplementedRpcSessionsServer) mustEmbedUnimplementedRpcSessionsServer() {} func (UnimplementedRpcSessionsServer) testEmbeddedByValue() {} @@ -161,7 +161,7 @@ type UnsafeRpcSessionsServer interface { } func RegisterRpcSessionsServer(s grpc.ServiceRegistrar, srv RpcSessionsServer) { - // If the following call pancis, it indicates UnimplementedRpcSessionsServer was + // If the following call panics, it indicates UnimplementedRpcSessionsServer was // embedded by pointer and is nil. This will cause panics if an // unimplemented method is ever invoked, so we test this at initialization // time to prevent it from happening at runtime later due to I/O.