Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SSHTool ¶
type SSHTool struct {
// contains filtered or unexported fields
}
func NewSSHTool ¶
NewSSHTool returned *SSHTool
type TunnelServer ¶
type TunnelServer struct {
// contains filtered or unexported fields
}
func NewTunnelServer ¶
func (*TunnelServer) Start ¶
func (server *TunnelServer) Start()
type TunnelServerV2 ¶
type TunnelServerV2 struct {
// contains filtered or unexported fields
}
func NewTunnelServerWithPool ¶
func NewTunnelServerWithPool(ctx context.Context, localHost, remoteHost string, sshTool *SSHTool) (*TunnelServerV2, error)
use ssh connection pool
func (*TunnelServerV2) Start ¶
func (server *TunnelServerV2) Start()
Click to show internal directories.
Click to hide internal directories.