Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyDataChannelReady ¶
func NotifyDataChannelReady(streamID string)
NotifyDataChannelReady notifies that data channel is ready for a stream
func ServeMuxFor ¶ added in v1.26.14
ServeMuxFor returns the *http.ServeMux that srv dispatches to, or nil if srv uses a non-ServeMux Handler. When Handler is nil, net/http uses DefaultServeMux at serve time; we register there to match that behavior.
Types ¶
type HTTPTunnel ¶
type HTTPTunnel struct {
// contains filtered or unexported fields
}
HTTPTunnel handles HTTP tunnel requests
func CreateHTTPTunnel ¶
func CreateHTTPTunnel(ctx *types.Context, domain string) *HTTPTunnel
CreateHTTPTunnel creates a new HTTP tunnel
func (*HTTPTunnel) Attach ¶
func (t *HTTPTunnel) Attach(server *http.Server)
Attach registers the HTTP tunnel on the same *http.ServeMux as server (server.Handler must be that mux or nil).
type TCPTunnel ¶
type TCPTunnel struct {
// contains filtered or unexported fields
}
TCPTunnel handles TCP tunnel connections
func CreateTCPTunnel ¶
CreateTCPTunnel creates a new TCP tunnel
func (*TCPTunnel) CreateServer ¶
CreateServer creates a TCP tunnel server for a container
Click to show internal directories.
Click to hide internal directories.