Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandler ¶
type HTTPHandler struct {
// contains filtered or unexported fields
}
HTTPHandler handles HTTP file serving and proxy requests
func NewHTTPHandler ¶
func NewHTTPHandler(serveDir, serverAddress string) *HTTPHandler
NewHTTPHandler creates a new HTTP handler
func (*HTTPHandler) Handle ¶
func (h *HTTPHandler) Handle(conn net.Conn) error
Handle processes HTTP connections
func (*HTTPHandler) HandleListener ¶
HandleListener handles connections from a listener (for HTTPS CONNECT)
type SSHHandler ¶
type SSHHandler struct {
// contains filtered or unexported fields
}
SSHHandler handles SSH tunneling connections
func NewSSHHandler ¶
func NewSSHHandler(password string) (*SSHHandler, error)
NewSSHHandler creates a new SSH handler
type ShellHandler ¶
type ShellHandler struct {
// contains filtered or unexported fields
}
ShellHandler handles shell connections
func NewShellHandler ¶
func NewShellHandler( cfg *config.Config, tmuxMgr *tmux.Manager, socketMgr *socket.Manager, pluginMgr *plugins.Manager, connStr string, ) *ShellHandler
NewShellHandler creates a new shell handler
func (*ShellHandler) Handle ¶
func (h *ShellHandler) Handle(conn net.Conn) error
Handle processes shell connections
func (*ShellHandler) HandleListener ¶
HandleListener handles incoming shell connections on a listener
type WebDAVHandler ¶
type WebDAVHandler struct {
// contains filtered or unexported fields
}
WebDAVHandler wraps the standard library WebDAV handler
func NewWebDAVHandler ¶
func NewWebDAVHandler(serveDir string) *WebDAVHandler
NewWebDAVHandler creates a new WebDAV handler using stdlib implementation
func (*WebDAVHandler) HandleRequest ¶
func (h *WebDAVHandler) HandleRequest(w http.ResponseWriter, r *http.Request)
HandleRequest processes a WebDAV HTTP request using stdlib handler