This commit is contained in:
crusader 2017-11-29 02:31:29 +09:00
parent 43c744e9ad
commit 780b3e3521

View File

@ -1,7 +1,6 @@
package rpc
import (
"context"
"fmt"
"git.loafle.net/commons_go/logging"
@ -39,7 +38,7 @@ func (sh *GatewayRPCServletHandlers) WriteNotification(servletCTX rpc.ServletCon
func (sh *GatewayRPCServletHandlers) Invoke(servletCTX rpc.ServletContext, requestCodec protocol.RegistryCodec) (result interface{}, err error) {
md := metadata.Pairs(oogw.GRPCUserIDKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string))
grpcCTX := metadata.NewOutgoingContext(context.Background(), md)
// grpcCTX := metadata.NewOutgoingContext(context.Background(), md)
params, err := requestCodec.Params()
if nil != err {