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