Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "TRANSPORT"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements tunnel.Client
func (*Client) DialConn ¶
DialConn implements tunnel.Client. It will ignore the params and directly dial to the remote server
func (*Client) DialPacket ¶
type Config ¶
type Config struct { LocalHost string `json:"local_addr" yaml:"local-addr"` LocalPort int `json:"local_port" yaml:"local-port"` RemoteHost string `json:"remote_addr" yaml:"remote-addr"` RemotePort int `json:"remote_port" yaml:"remote-port"` TransportPlugin TransportPluginConfig `json:"transport_plugin" yaml:"transport-plugin"` }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a server of transport layer
func (*Server) AcceptPacket ¶
type TransportPluginConfig ¶
Click to show internal directories.
Click to hide internal directories.