Documentation ¶
Index ¶
- type Client
- func (c *Client) GetEgressRates(addrs []plan.NetAddr) []float64
- func (c *Client) Ping(target plan.PeerID) (time.Duration, error)
- func (c *Client) ResetConnections(keeps plan.PeerList, token uint32)
- func (c *Client) Send(a plan.Addr, buf []byte, t connection.ConnType, flags uint32) error
- func (c *Client) Wait(ctx context.Context, target plan.PeerID) (int, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetEgressRates ¶ added in v0.2.3
func (*Client) ResetConnections ¶
Click to show internal directories.
Click to hide internal directories.