crash.software
Projects
Pull Requests
Issues
Builds
tun2socks
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
tun2socks
Files
🤬
Sign In
main
ROOT
/
tunnel
/
statistic
/
manager.go
Search
History
96 lines
|
ISO-8859-1
|
1 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
DefaultManager
:
*Manager
init
()
Manager
connections
:
sync.Map
uploadTemp
:
*atomic.Int64
downloadTemp
:
*atomic.Int64
uploadBlip
:
*atomic.Int64
downloadBlip
:
*atomic.Int64
uploadTotal
:
*atomic.Int64
downloadTotal
:
*atomic.Int64
Snapshot
DownloadTotal
:
int64
UploadTotal
:
int64
Connections
:
[]tracker
*Manager
Join
(c tracker)
Leave
(c tracker)
PushUploaded
(size int64)
PushDownloaded
(size int64)
Now
()
:
(up int64, down int64)
Snapshot
()
:
*Snapshot
ResetStatistic
()
handle
()
All occurrences
Please wait...
Page is in error, reload to recover