Versions in this module Expand all Collapse all v0 v0.4.0 Aug 3, 2025 v0.3.0 Aug 3, 2025 Changes in this version + func TunRegistry() *registry.Registry + type Tunnel struct + func NewTunnel(sshConn *sshc.SshConnection, conf *TunnelConf, stoppable bool) *Tunnel + func (t *Tunnel) GetActiveClientsCount() int + func (t *Tunnel) GetCurrentBytesPerSecond() int64 + func (t *Tunnel) GetEndpoint() utils.Endpoint + func (t *Tunnel) GetIsListenerLocal() bool + func (t *Tunnel) GetListenerAddr() net.Addr + func (t *Tunnel) IsStoppable() bool + func (t *Tunnel) Start() + func (t *Tunnel) Stop() + type TunnelConf struct + Forward bool + Local string + Remote string + SshClientConf *sshc.SshClientConf + func (c *TunnelConf) GetLocalEndpoint() *utils.Endpoint + func (c *TunnelConf) GetRemotEndpoint() *utils.Endpoint