Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
TODO(AD) Not thread safe.
func NewConnection ¶
func (*Connection) Close ¶
func (c *Connection) Close() error
func (*Connection) Drop ¶
func (c *Connection) Drop()
type Node ¶
type Node struct { ID string Addr string ProxyAddr string // contains filtered or unexported fields }
func (*Node) DropActive ¶
func (n *Node) DropActive()
func (*Node) PartitionFor ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) DropActive ¶
func (p *Proxy) DropActive()
DropActive drops all packets from existing connections but does not close them.
Click to show internal directories.
Click to hide internal directories.