service

package
v0.0.0-...-046d61f Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build()

Build 编译app

func RunCmd

func RunCmd(conf SSHConf, cmd string, stdout, stderr io.Writer)

RunCmd 仅执行ssh命令

func RunTerminal

func RunTerminal(cmd string, conf *SSHConf, stdout, stderr io.Writer) error

RunTerminal ssh登录, 执行命令

Types

type SSHConf

type SSHConf struct {
	// contains filtered or unexported fields
}

SSHConf ssh config

func NewSSHConf

func NewSSHConf(tag, host, un, pw string) *SSHConf

NewSSHConf pass

Jump to

Keyboard shortcuts

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