From ddfa0defedbcb91ca6030cfcac2d730bdcc9dcc0 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 11 May 2018 16:55:34 +0900 Subject: [PATCH] ing --- glide.yaml | 1 + servlet/rpc-servlet.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/glide.yaml b/glide.yaml index 58c773d..58352ad 100644 --- a/glide.yaml +++ b/glide.yaml @@ -11,3 +11,4 @@ import: - external/grpc - package: github.com/valyala/fasthttp version: ^20160617.0.0 +- package: git.loafle.net/overflow/external-go diff --git a/servlet/rpc-servlet.go b/servlet/rpc-servlet.go index 9dee116..691607e 100644 --- a/servlet/rpc-servlet.go +++ b/servlet/rpc-servlet.go @@ -9,8 +9,8 @@ import ( "git.loafle.net/commons/server-go" css "git.loafle.net/commons/server-go/socket" cssw "git.loafle.net/commons/server-go/socket/web" + oeg "git.loafle.net/overflow/external-go/grpc" og "git.loafle.net/overflow/gateway" - ogeg "git.loafle.net/overflow/gateway/external/grpc" "github.com/valyala/fasthttp" "google.golang.org/grpc/metadata" ) @@ -109,7 +109,7 @@ func (s *RPCServlets) Handle(servletCtx server.ServletCtx, } grpcCtx = metadata.NewOutgoingContext(context.Background(), md) - grpcReply, err = ogeg.Exec(grpcCtx, method, params...) + grpcReply, err = oeg.Exec(grpcCtx, method, params...) if nil != err { logging.Logger().Error(err) }