feat: share more code from android branch

This commit is contained in:
Steve Johnson
2023-11-17 01:19:20 +08:00
parent d28c3b50e3
commit 9e96d70840
17 changed files with 333 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
// +build android
package statistic
func (m *Manager) Total() (up, down int64) {
return m.uploadTotal.Load(), m.downloadTotal.Load()
}