updated docs for leaky memory

This commit is contained in:
Stephen McQuay 2014-03-08 00:10:07 -08:00 committed by Gogs
parent f161a60e37
commit 6092272775

View File

@ -12,6 +12,7 @@ import (
// a Bandwidth then feed values using the AddRx and AddTx channels. When the
// accumulated values are needed, simply read from the Rx or Tx chans. When the
// Bandwidth is no loner needed close the Quit chan.
// At this time it uses container/list and leaks memory like a sieve.
type Bandwidth struct {
// write number of bytes to us
AddRx chan int