Documentation ¶
Index ¶
- Constants
- type Tunnel
- func (t *Tunnel) Dial(ctx context.Context, id string) (net.Conn, error)
- func (t *Tunnel) ForwardResponse(resp *http.Response, w http.ResponseWriter)
- func (t *Tunnel) Online() (id string, online bool)
- func (t *Tunnel) Router() http.Handler
- func (t *Tunnel) SendRequest(ctx context.Context, id string, req *http.Request) (*http.Response, error)
Constants ¶
View Source
const ( DefaultConnectionURL = "/connection" DefaultRevdialURL = "/revdial" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.