ing
This commit is contained in:
parent
ddfa0defed
commit
5c8407b9fd
|
@ -9,6 +9,7 @@ import (
|
|||
"git.loafle.net/commons/server-go"
|
||||
css "git.loafle.net/commons/server-go/socket"
|
||||
cssw "git.loafle.net/commons/server-go/socket/web"
|
||||
oe "git.loafle.net/overflow/external-go"
|
||||
oeg "git.loafle.net/overflow/external-go/grpc"
|
||||
og "git.loafle.net/overflow/gateway"
|
||||
"github.com/valyala/fasthttp"
|
||||
|
@ -79,9 +80,9 @@ func (s *RPCServlets) Handle(servletCtx server.ServletCtx,
|
|||
|
||||
if nil != _clientType && nil != _sessionID && nil != _targetID {
|
||||
md = metadata.Pairs(
|
||||
og.GRPCClientTypeKey.String(), _clientType.(og.ClientType).String(),
|
||||
og.GRPCSessionIDKey.String(), _sessionID.(string),
|
||||
og.GRPCTargetIDKey.String(), _targetID.(string),
|
||||
oe.GRPCClientTypeKey.String(), _clientType.(og.ClientType).String(),
|
||||
oe.GRPCSessionIDKey.String(), _sessionID.(string),
|
||||
oe.GRPCTargetIDKey.String(), _targetID.(string),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user