Documentation ¶
Index ¶
Constants ¶
View Source
const ConnectOpType string = "connect"
Variables ¶
This section is empty.
Functions ¶
func EnableConnecting ¶
func HandleSluiceRequest ¶
func HandleSluiceRequest(connInfo *network.Connection, conn net.Conn)
Types ¶
type ConnectOp ¶
type ConnectOp struct { terminal.OpBase *terminal.DuplexFlowQueue // contains filtered or unexported fields }
func NewConnectOp ¶
func NewConnectOp(t terminal.OpTerminal, request *ConnectRequest, conn net.Conn) (*ConnectOp, *terminal.Error)
type ConnectRequest ¶
type ConnectRequest struct { Domain string IP net.IP Protocol packet.IPProtocol Port uint16 QueueSize uint16 }
func (*ConnectRequest) Address ¶
func (r *ConnectRequest) Address() string
func (*ConnectRequest) String ¶
func (r *ConnectRequest) String() string
type TunnelContext ¶ added in v0.3.5
type TunnelContext struct { Path []*TunnelContextHop PathCost float32 RoutingAlg string }
TunnelContext holds additional information about the tunnel to be added to a connection.
type TunnelContextHop ¶ added in v0.3.5
type TunnelContextHop struct { ID string Name string IPv4 *TunnelContextHopIPInfo `json:",omitempty"` IPv6 *TunnelContextHopIPInfo `json:",omitempty"` }
Click to show internal directories.
Click to hide internal directories.