mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-05 05:27:31 +00:00
feat: share more code from android branch
This commit is contained in:
7
tunnel/statistic/patch_android.go
Normal file
7
tunnel/statistic/patch_android.go
Normal file
@@ -0,0 +1,7 @@
|
||||
// +build android
|
||||
|
||||
package statistic
|
||||
|
||||
func (m *Manager) Total() (up, down int64) {
|
||||
return m.uploadTotal.Load(), m.downloadTotal.Load()
|
||||
}
|
||||
Reference in New Issue
Block a user