- add total upload/download stats to the Network widget (#153)

This commit is contained in:
Serhiy Mytrovtsiy
2020-11-13 13:57:33 +01:00
parent 5b649df28c
commit b843ff4cbf
8 changed files with 44 additions and 11 deletions

View File

@@ -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