Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct { WSProxyGetter func(*http.Request) (*url.URL, error) HeartInterval time.Duration }
Bridge implement data flow tunnel between tcp client/server with websocket.
func (*Bridge) TCP2Tunnel ¶ added in v0.8.0
TCP2Tunnel tcp client -> tcp tunnel server(http/https/http2.0 or socket5).
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
connect
Package connect implement proxy.Dialer(s) with http connect method.
|
Package connect implement proxy.Dialer(s) with http connect method. |
post
Package post implement proxy.Dialer(s) with http post method.
|
Package post implement proxy.Dialer(s) with http post method. |
Click to show internal directories.
Click to hide internal directories.