Skip to content
Snippets Groups Projects
Commit 790d8b16 authored by haohongfan's avatar haohongfan
Browse files

feat: update go.mod

parent cf0e0399
No related branches found
No related tags found
No related merge requests found
...@@ -64,12 +64,12 @@ func (s *rpcSession) GetReqNum() int32 { ...@@ -64,12 +64,12 @@ func (s *rpcSession) GetReqNum() int32 {
// RpcClientHandler // RpcClientHandler
// ////////////////////////////////////////// // //////////////////////////////////////////
// RpcClientHandler getty rpc client handler // nolint
type RpcClientHandler struct { type RpcClientHandler struct {
conn *gettyRPCClient conn *gettyRPCClient
} }
// NewRpcClientHandler new getty rpc client handler // nolint
func NewRpcClientHandler(client *gettyRPCClient) *RpcClientHandler { func NewRpcClientHandler(client *gettyRPCClient) *RpcClientHandler {
return &RpcClientHandler{conn: client} return &RpcClientHandler{conn: client}
} }
...@@ -160,7 +160,7 @@ func (h *RpcClientHandler) OnCron(session getty.Session) { ...@@ -160,7 +160,7 @@ func (h *RpcClientHandler) OnCron(session getty.Session) {
// RpcServerHandler // RpcServerHandler
// ////////////////////////////////////////// // //////////////////////////////////////////
// RpcServerHandler implement EventListener of getty. // nolint
type RpcServerHandler struct { type RpcServerHandler struct {
maxSessionNum int maxSessionNum int
sessionTimeout time.Duration sessionTimeout time.Duration
...@@ -169,7 +169,7 @@ type RpcServerHandler struct { ...@@ -169,7 +169,7 @@ type RpcServerHandler struct {
server *Server server *Server
} }
// NewRpcServerHandler new rpc server handler // nolint
func NewRpcServerHandler(maxSessionNum int, sessionTimeout time.Duration, serverP *Server) *RpcServerHandler { func NewRpcServerHandler(maxSessionNum int, sessionTimeout time.Duration, serverP *Server) *RpcServerHandler {
return &RpcServerHandler{ return &RpcServerHandler{
maxSessionNum: maxSessionNum, maxSessionNum: maxSessionNum,
......
module github.com/apache/dubbo-go/test/integrate/dubbo/go-client 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 go 1.13
module github.com/apache/dubbo-go/test/integrate/dubbo/go-server 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 go 1.13
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment