gossh

package
v1.0.115 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ssh added in v1.0.47

type Ssh struct {
	SshConfig
}

func NewSsh added in v1.0.47

func NewSsh(config *SshConfig) *Ssh

NewSsh 实例化

func (*Ssh) Tunnel added in v1.0.47

func (app *Ssh) Tunnel()

type SshConfig added in v1.0.47

type SshConfig struct {
	Username   string
	Password   string
	ServerAddr string
	RemoteAddr string
	LocalAddr  string
}

SshConfig 配置

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL