Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
getty
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wei.xuan
getty
Commits
04c5bef7
Commit
04c5bef7
authored
Oct 24, 2021
by
jason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gofumpt connection
parent
9be0aeeb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
connection.go
connection.go
+7
-7
go.sum
go.sum
+2
-0
No files found.
connection.go
View file @
04c5bef7
...
...
@@ -74,17 +74,17 @@ type gettyConn struct {
compress
CompressType
padding1
uint8
padding2
uint16
readBytes
uatomic
.
Uint32
// read bytes
writeBytes
uatomic
.
Uint32
// write bytes
readPkgNum
uatomic
.
Uint32
// send pkg number
writePkgNum
uatomic
.
Uint32
// recv pkg number
active
uatomic
.
Int64
// last active, in milliseconds
readBytes
uatomic
.
Uint32
// read bytes
writeBytes
uatomic
.
Uint32
// write bytes
readPkgNum
uatomic
.
Uint32
// send pkg number
writePkgNum
uatomic
.
Uint32
// recv pkg number
active
uatomic
.
Int64
// last active, in milliseconds
rTimeout
uatomic
.
Duration
// network current limiting
wTimeout
uatomic
.
Duration
rLastDeadline
uatomic
.
Time
// last network read time
wLastDeadline
uatomic
.
Time
// last network write time
local
string
// local address
peer
string
// peer address
local
string
// local address
peer
string
// peer address
ss
Session
}
...
...
go.sum
View file @
04c5bef7
...
...
@@ -81,6 +81,8 @@ github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8
github.com/dubbogo/go-zookeeper v1.0.3/go.mod h1:fn6n2CAEer3novYgk9ULLwAjuV8/g4DdC2ENwRb6E+c=
github.com/dubbogo/gost v1.11.12 h1:e3861DxHWe509whpMxS6mFBmgmm7r9+bT5iJ/PRufcw=
github.com/dubbogo/gost v1.11.12/go.mod h1:vIcP9rqz2KsXHPjsAwIUtfJIJjppQLQDcYaZTy/61jI=
github.com/dubbogo/gost v1.11.19 h1:R1rZ3TNJKV9W5XHLMv+GDO2Wy6UDnwGQtVWbsWYvo0A=
github.com/dubbogo/gost v1.11.19/go.mod h1:vIcP9rqz2KsXHPjsAwIUtfJIJjppQLQDcYaZTy/61jI=
github.com/dubbogo/jsonparser v1.0.1/go.mod h1:tYAtpctvSP/tWw4MeelsowSPgXQRVHHWbqL6ynps8jU=
github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment