mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
- add total upload/download stats to the Network widget (#153)
This commit is contained in:
@@ -31,6 +31,9 @@ public struct Network_Usage: value_t {
|
||||
var download: Int64 = 0
|
||||
var upload: Int64 = 0
|
||||
|
||||
var totalDownload: Int64 = 0
|
||||
var totalUpload: Int64 = 0
|
||||
|
||||
var laddr: String? = nil // local ip
|
||||
var raddr: String? = nil // remote ip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user