diff --git a/internal/server/rpc/gateway_rpc_servlet_handlers.go b/internal/server/rpc/gateway_rpc_servlet_handlers.go index b6eccc4..f345af5 100644 --- a/internal/server/rpc/gateway_rpc_servlet_handlers.go +++ b/internal/server/rpc/gateway_rpc_servlet_handlers.go @@ -2,14 +2,15 @@ package rpc import ( "context" + "fmt" + "git.loafle.net/commons_go/logging" "git.loafle.net/commons_go/rpc" crcwf "git.loafle.net/commons_go/rpc/connection/websocket/fasthttp" "git.loafle.net/commons_go/rpc/gateway" "git.loafle.net/commons_go/rpc/protocol" "git.loafle.net/commons_go/rpc/protocol/json" oogw "git.loafle.net/overflow/overflow_gateway_websocket" - "git.loafle.net/overflow/overflow_gateway_websocket/external/grpc" "google.golang.org/grpc/metadata" ) @@ -45,10 +46,12 @@ func (sh *GatewayRPCServletHandlers) Invoke(servletCTX rpc.ServletContext, reque return nil, err } - r, err := grpc.Exec(grpcCTX, requestCodec.Method(), params) - if err != nil { - return nil, err - } + logging.Logger().Debug(fmt.Sprintf("method:%s, params:%v", requestCodec.Method(), params)) + // r, err := grpc.Exec(grpcCTX, requestCodec.Method(), params) + // if err != nil { + // return nil, err + // } + r := struct{}{} return r, nil }