crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
60d3ba3b
ROOT
/
experimental
/
clashapi
/
trafficontrol
/
manager.go
Search
History
110 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Manager
connections
:
compatible
Map
:
[string,
tracker
uploadTemp
:
*atomic.Int64
downloadTemp
:
*atomic.Int64
uploadBlip
:
*atomic.Int64
downloadBlip
:
*atomic.Int64
uploadTotal
:
*atomic.Int64
downloadTotal
:
*atomic.Int64
ticker
:
*time.Ticker
done
:
chan struct{}
NewManager
()
:
*Manager
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
()
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover