Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BwLimit ¶
type BwLimit struct {
// contains filtered or unexported fields
}
holds info about the rate limiters in use
func (*BwLimit) LimitBandwidth ¶
func (*BwLimit) SetBwLimit ¶
SetBwLimit sets the current bandwidth limit
type Dialer ¶
Dialer structure contains default dialer and timeout
func NewDialer ¶
func NewDialer() *Dialer
NewDialer creates a Dialer structure with Timeout, Keepalive bandwidth limit rx: read, tx write
func (*Dialer) DialContext ¶
DialContext connects to the network address using the provided context.
Click to show internal directories.
Click to hide internal directories.