Versions in this module Expand all Collapse all v0 v0.2.1 Feb 26, 2026 Changes in this version + type HTTP struct + func NewHTTP(ssh SSHClient) *HTTP + func (h *HTTP) Start(localPort int) error + type SOCKS5 struct + func NewSOCKS5(ssh SSHClient) *SOCKS5 + func (s *SOCKS5) Start(localPort int) error + type SSHClient interface + Dial func(network, address string) (net.Conn, error) + type Server struct + func NewServer(ssh SSHClient) *Server + func (s *Server) HandleClientWithTimeout(clientConn net.Conn, clientType string, timeout time.Duration, handler func()) + func (s *Server) OpenSSHChannel(clientConn net.Conn, host string, port int) + func (s *Server) StartProxy(proxyType string, localPort int, handler func(net.Conn)) error