Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscardChannels ¶
func DiscardChannels(chanReqs <-chan ssh.NewChannel)
func InstallHttpHandlers ¶
func InstallHttpHandlers(hub *Hub)
Types ¶
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
func (*Hub) GetTunnelByUser ¶
type Tunnel ¶
type Tunnel struct { PublicKey string `json:"public_key"` User string `json:"user"` Link *Link `json:"-"` Conn ssh.Conn `json:"-"` }
func (*Tunnel) Serialize ¶
func (tun *Tunnel) Serialize() TunnelStatus
type TunnelStatus ¶
Click to show internal directories.
Click to hide internal directories.