From a6f6df257bab02944fafdfd057351f9db951143d Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 17 Jan 2023 23:41:48 +0300 Subject: [PATCH] fix endpoint Signed-off-by: Vasiliy Tolstov --- grpc.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grpc.go b/grpc.go index 5caa536..2be599c 100644 --- a/grpc.go +++ b/grpc.go @@ -384,6 +384,7 @@ func (g *grpcServer) processRequest(ctx context.Context, stream grpc.ServerStrea service: g.opts.Name, contentType: ct, method: fmt.Sprintf("%s.%s", service.name, mtype.method.Name), + endpoint: fmt.Sprintf("%s.%s", service.name, mtype.method.Name), payload: argv.Interface(), } // define the handler func @@ -504,6 +505,7 @@ func (g *grpcServer) processStream(ctx context.Context, stream grpc.ServerStream service: opts.Name, contentType: ct, method: fmt.Sprintf("%s.%s", service.name, mtype.method.Name), + endpoint: fmt.Sprintf("%s.%s", service.name, mtype.method.Name), stream: true, }