updated docs for leaky memory
This commit is contained in:
parent
f161a60e37
commit
6092272775
@ -12,6 +12,7 @@ import (
|
|||||||
// a Bandwidth then feed values using the AddRx and AddTx channels. When the
|
// 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
|
// accumulated values are needed, simply read from the Rx or Tx chans. When the
|
||||||
// Bandwidth is no loner needed close the Quit chan.
|
// 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 {
|
type Bandwidth struct {
|
||||||
// write number of bytes to us
|
// write number of bytes to us
|
||||||
AddRx chan int
|
AddRx chan int
|
||||||
|
Loading…
Reference in New Issue
Block a user