type Stats struct {
pkts int64
bytes uint64
+ bads int64
lost int64
reorder int64
last time.Time
return
case now = <-tick:
s := fmt.Sprintf(
- "%s | %s | L/R: %s / %s",
+ "%s | %s | B/L/R: %s/%s/%s",
humanize.Comma(stats.pkts),
humanize.IBytes(stats.bytes),
+ humanize.Comma(stats.bads),
humanize.Comma(stats.lost),
humanize.Comma(stats.reorder),
)