update all

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-04-29 22:42:13 +03:00
parent e60c74a6ab
commit e700dcbcbb
15 changed files with 43 additions and 79 deletions

View File

@@ -2,7 +2,6 @@ package grpc_test
import (
"context"
"fmt"
"io"
"net/http"
"testing"
@@ -32,7 +31,7 @@ type testServer struct {
func NewServerHandlerWrapper() server.HandlerWrapper {
return func(fn server.HandlerFunc) server.HandlerFunc {
return func(ctx context.Context, req server.Request, rsp interface{}) error {
fmt.Printf("wrap ctx: %#+v req: %#+v\n", ctx, req)
//fmt.Printf("wrap ctx: %#+v req: %#+v\n", ctx, req)
return fn(ctx, req, rsp)
}
}