Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "WEBSOCKET"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DialPacket ¶
type Config ¶
type Config struct { RemoteHost string `json:"remote_addr" yaml:"remote-addr"` RemotePort int `json:"remote_port" yaml:"remote-port"` Websocket WebsocketConfig `json:"websocket" yaml:"websocket"` }
type InboundConn ¶
type InboundConn struct { OutboundConn // contains filtered or unexported fields }
func (*InboundConn) Close ¶
func (c *InboundConn) Close() error
type OutboundConn ¶
func (*OutboundConn) Metadata ¶
func (c *OutboundConn) Metadata() *tunnel.Metadata
func (*OutboundConn) RemoteAddr ¶
func (c *OutboundConn) RemoteAddr() net.Addr
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AcceptPacket ¶
type WebsocketConfig ¶
Click to show internal directories.
Click to hide internal directories.