term

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSshClient

func NewSshClient(addr, username, password string) (*ssh.Client, error)

Types

type Terminal

type Terminal struct {
	SshClient  *ssh.Client
	SftpClient *sftp.Client
}

func NewTerminal

func NewTerminal(addr, username, password string) (*Terminal, error)

func (*Terminal) Close

func (t *Terminal) Close() error

Jump to

Keyboard shortcuts

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