Skip to content
Snippets Groups Projects
Commit 5db064ab authored by haohongfan's avatar haohongfan
Browse files

feat: update go.mod

parent 7620b773
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
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
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
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