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(id relay.ConnectorID, tid relay.TunnelID, node string, s *mux.Session, opts *ConnectorOptions) *Connector
func (*Connector) ID ¶
func (c *Connector) ID() relay.ConnectorID
type ConnectorOptions ¶ added in v0.1.9
type ConnectorOptions struct {
// contains filtered or unexported fields
}
type ConnectorPool ¶
type ConnectorPool struct {
// contains filtered or unexported fields
}
func NewConnectorPool ¶
func NewConnectorPool(node string, sd sd.SD) *ConnectorPool
func (*ConnectorPool) Close ¶ added in v0.1.6
func (p *ConnectorPool) Close() error
type Tunnel ¶
type Tunnel struct {
// contains filtered or unexported fields
}
func (*Tunnel) AddConnector ¶
func (*Tunnel) CloseOnIdle ¶
func (*Tunnel) GetConnector ¶
Click to show internal directories.
Click to hide internal directories.