Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
func NewListener ¶
NewListener creates a new rate-limited listener. The readLimit and writeLimit should be seen from the perspective of a peer that opens a connection to this listener. How much they can read and write, respectively. Limits are in bytes per second.
Click to show internal directories.
Click to hide internal directories.