Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
790d8b16
Commit
790d8b16
authored
4 years ago
by
haohongfan
Browse files
Options
Downloads
Patches
Plain Diff
feat: update go.mod
parent
cf0e0399
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
remoting/getty/listener.go
+4
-4
4 additions, 4 deletions
remoting/getty/listener.go
test/integrate/dubbo/go-client/go.mod
+1
-1
1 addition, 1 deletion
test/integrate/dubbo/go-client/go.mod
test/integrate/dubbo/go-server/go.mod
+1
-1
1 addition, 1 deletion
test/integrate/dubbo/go-server/go.mod
with
6 additions
and
6 deletions
remoting/getty/listener.go
+
4
−
4
View file @
790d8b16
...
@@ -64,12 +64,12 @@ func (s *rpcSession) GetReqNum() int32 {
...
@@ -64,12 +64,12 @@ func (s *rpcSession) GetReqNum() int32 {
// RpcClientHandler
// RpcClientHandler
// //////////////////////////////////////////
// //////////////////////////////////////////
//
RpcClientHandler getty rpc c
li
e
nt
handler
//
no
lint
type
RpcClientHandler
struct
{
type
RpcClientHandler
struct
{
conn
*
gettyRPCClient
conn
*
gettyRPCClient
}
}
//
NewRpcClientHandler new getty rpc c
li
e
nt
handler
//
no
lint
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
,
...
...
This diff is collapsed.
Click to expand it.
test/integrate/dubbo/go-client/go.mod
+
1
−
1
View file @
790d8b16
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
This diff is collapsed.
Click to expand it.
test/integrate/dubbo/go-server/go.mod
+
1
−
1
View file @
790d8b16
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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment