Commit Graph

8 Commits

Author SHA1 Message Date
Stephen McQuay 9ea22e394e Added HumanRate 2015-09-30 23:15:53 -07:00
Stephen McQuay a23ebdb44b further simplified implementation 2015-09-30 22:57:14 -07:00
Stephen McQuay 0ad73b982e bandwidth -> bps, and behavior change
- bps.BPS only keeps track of rates of a single rate
- bps.BPS implements io.Writer
- removed chan semantics, interact via .Add or .Write
- fleshed out docs
2015-09-29 23:38:14 -07:00
Stephen McQuay f161a60e37 Fixed the memory leaks using circular buffer. 2014-03-08 18:07:43 -08:00
Stephen McQuay bb8ce3c1ea Started down a different path; using a circular buffer instead.
After talks on #go-nuts, it seems as though I should look into using something
like the following:

https://github.com/cespare/goproc/tree/master/nwstat

And this makes sense. I have trimmed out the old tests and rearranged some code
here.
2014-03-08 00:45:55 -08:00
Stephen McQuay adbdc7abe6 Added docs 2014-03-02 23:03:00 -08:00
Stephen McQuay ae82433a8f demote NewStream 2014-03-02 22:47:28 -08:00
Stephen McQuay ecace73aed added files from hackerbots 2014-03-02 22:44:09 -08:00