Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxWeight uint8 = 0xff
)
Variables ¶
Functions ¶
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func NewConnector ¶
func NewConnector(rid relay.TunnelID, cid relay.ConnectorID, host string, w io.Writer, opts *ConnectorOptions) *Connector
func (*Connector) ID ¶
func (c *Connector) ID() relay.ConnectorID
type ConnectorOptions ¶
type ConnectorOptions struct{}
type ConnectorPool ¶
type ConnectorPool struct {
// contains filtered or unexported fields
}
func NewConnectorPool ¶
func NewConnectorPool(node string) *ConnectorPool
func (*ConnectorPool) Close ¶
func (p *ConnectorPool) Close() error
func (*ConnectorPool) Del ¶
func (p *ConnectorPool) Del(rid relay.TunnelID, host string, cid relay.ConnectorID)
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) AddConnector ¶
func (*Router) DelConnector ¶
func (r *Router) DelConnector(host string, cid relay.ConnectorID)
func (*Router) GetConnector ¶
Click to show internal directories.
Click to hide internal directories.