ing
This commit is contained in:
parent
8b1daa22ff
commit
ddfa0defed
|
@ -11,3 +11,4 @@ import:
|
||||||
- external/grpc
|
- external/grpc
|
||||||
- package: github.com/valyala/fasthttp
|
- package: github.com/valyala/fasthttp
|
||||||
version: ^20160617.0.0
|
version: ^20160617.0.0
|
||||||
|
- package: git.loafle.net/overflow/external-go
|
||||||
|
|
|
@ -9,8 +9,8 @@ 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"
|
||||||
|
oeg "git.loafle.net/overflow/external-go/grpc"
|
||||||
og "git.loafle.net/overflow/gateway"
|
og "git.loafle.net/overflow/gateway"
|
||||||
ogeg "git.loafle.net/overflow/gateway/external/grpc"
|
|
||||||
"github.com/valyala/fasthttp"
|
"github.com/valyala/fasthttp"
|
||||||
"google.golang.org/grpc/metadata"
|
"google.golang.org/grpc/metadata"
|
||||||
)
|
)
|
||||||
|
@ -109,7 +109,7 @@ func (s *RPCServlets) Handle(servletCtx server.ServletCtx,
|
||||||
}
|
}
|
||||||
|
|
||||||
grpcCtx = metadata.NewOutgoingContext(context.Background(), md)
|
grpcCtx = metadata.NewOutgoingContext(context.Background(), md)
|
||||||
grpcReply, err = ogeg.Exec(grpcCtx, method, params...)
|
grpcReply, err = oeg.Exec(grpcCtx, method, params...)
|
||||||
if nil != err {
|
if nil != err {
|
||||||
logging.Logger().Error(err)
|
logging.Logger().Error(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user