Add comments for exported functions

This commit is contained in:
9seconds
2018-10-17 10:51:16 +03:00
parent 358d42ec61
commit 3aec9657d7
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -68,6 +68,7 @@ func EgressTraffic(traffic int) {
}
}
// GetStats returns a snapshot of Stats instance.
func GetStats() Stats {
rpcChan := make(chan Stats)
statsChan <- rpcChan