Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultConnectionURL = "/connection" DefaultRevdialURL = "/revdial" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tunnel ¶
type Tunnel struct { ConnectionPath string DialerPath string ConnectionHandler func(*http.Request) (string, error) CloseHandler func(string) KeepAliveHandler func(string) // contains filtered or unexported fields }
func (*Tunnel) ForwardResponse ¶
func (t *Tunnel) ForwardResponse(resp *http.Response, w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.