inet

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSH

type SSH struct {
	Session *ssh.Session
	// contains filtered or unexported fields
}

func (*SSH) CloseConnection

func (sh *SSH) CloseConnection() error

func (*SSH) CloseSession

func (sh *SSH) CloseSession() error

func (*SSH) Connect

func (sh *SSH) Connect() error

func (*SSH) GetSession

func (sh *SSH) GetSession() *ssh.Session

func (*SSH) Make

func (sh *SSH) Make(ip string, port string, user string, pass string, key string)

func (*SSH) NewSession

func (sh *SSH) NewSession() error

func (*SSH) Reconnect

func (sh *SSH) Reconnect(tries int, delayInSec int) error

func (*SSH) TestConnection

func (sh *SSH) TestConnection() error

Jump to

Keyboard shortcuts

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