ing
This commit is contained in:
parent
43c744e9ad
commit
780b3e3521
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user