ssh

package
v0.0.0-...-0f91579 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	*linux.SSHConn
}

func NewConn

func NewConn(conn *linux.SSHConn) *Conn

NewConn returns a new *Conn

func (*Conn) GetArch

func (c *Conn) GetArch() (string, error)

GetArch returns the arch of the host

func (*Conn) GetOSVersion

func (c *Conn) GetOSVersion() (*version.Version, error)

GetOSVersion returns the os version of the host

Jump to

Keyboard shortcuts

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