osx

package
v0.0.0-...-ee5f517 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseBoardID

func GetBaseBoardID() string

GetBaseBoardID 获取主板的id

func GetCPUID

func GetCPUID() string

GetCPUID 获取cpuid

func NetSpeed

func NetSpeed(speed chan float64)

上传网速

Types

type Cli

type Cli struct {
	IP       string
	Username string
	Password string
	Port     int

	LastResult string
	// contains filtered or unexported fields
}

func NewSSH

func NewSSH(ip string, username string, password string, port ...int) *Cli

func (*Cli) RunSH

func (c *Cli) RunSH(cmd string) (_err error)

func (*Cli) RunTerminal

func (c *Cli) RunTerminal(stdout, stderr io.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳