From 5db064ab7951fa6d007e43c56b138b09e881b4b0 Mon Sep 17 00:00:00 2001 From: haohongfan <haohongfan@ling.ai> Date: Sat, 19 Sep 2020 18:42:04 +0800 Subject: [PATCH] feat: update go.mod --- remoting/getty/listener.go | 8 ++++---- test/integrate/dubbo/go-client/go.mod | 2 +- test/integrate/dubbo/go-server/go.mod | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/remoting/getty/listener.go b/remoting/getty/listener.go index 7e7bd79ba..196aa20a0 100644 --- a/remoting/getty/listener.go +++ b/remoting/getty/listener.go @@ -64,12 +64,12 @@ func (s *rpcSession) GetReqNum() int32 { // RpcClientHandler // ////////////////////////////////////////// -// RpcClientHandler getty rpc client handler +// nolint type RpcClientHandler struct { conn *gettyRPCClient } -// NewRpcClientHandler new getty rpc client handler +// nolint func NewRpcClientHandler(client *gettyRPCClient) *RpcClientHandler { return &RpcClientHandler{conn: client} } @@ -160,7 +160,7 @@ func (h *RpcClientHandler) OnCron(session getty.Session) { // RpcServerHandler // ////////////////////////////////////////// -// RpcServerHandler implement EventListener of getty. +// nolint type RpcServerHandler struct { maxSessionNum int sessionTimeout time.Duration @@ -169,7 +169,7 @@ type RpcServerHandler struct { server *Server } -// NewRpcServerHandler new rpc server handler +// nolint func NewRpcServerHandler(maxSessionNum int, sessionTimeout time.Duration, serverP *Server) *RpcServerHandler { return &RpcServerHandler{ maxSessionNum: maxSessionNum, diff --git a/test/integrate/dubbo/go-client/go.mod b/test/integrate/dubbo/go-client/go.mod index 8428a513a..162f32ba9 100644 --- a/test/integrate/dubbo/go-client/go.mod +++ b/test/integrate/dubbo/go-client/go.mod @@ -1,5 +1,5 @@ module github.com/apache/dubbo-go/test/integrate/dubbo/go-client -require github.com/apache/dubbo-go-hessian2 v1.6.0-rc1.0.20200906044240-6c1fb5c3bd44 +require github.com/apache/dubbo-go-hessian2 v1.7.0 go 1.13 diff --git a/test/integrate/dubbo/go-server/go.mod b/test/integrate/dubbo/go-server/go.mod index 6a56b189e..f9d950e0d 100644 --- a/test/integrate/dubbo/go-server/go.mod +++ b/test/integrate/dubbo/go-server/go.mod @@ -1,5 +1,5 @@ module github.com/apache/dubbo-go/test/integrate/dubbo/go-server -require github.com/apache/dubbo-go-hessian2 v1.6.0-rc1.0.20200906044240-6c1fb5c3bd44 +require github.com/apache/dubbo-go-hessian2 v1.7.0 go 1.13 -- GitLab