massh:Go软件包用于通过SSH运行Linux分布式Shell命令 源码

上传:specialty23758 浏览: 4 推荐: 0 文件:ZIP 大小:129.82KB 上传时间:2021-02-23 09:02:23 版权申诉
描述 Go软件包,用于通过SSH运行Linux分布式Shell命令。 为什么? 我想尝试使用分布式SSH命令,并为旧的,过时的存储库提供功能替代。 例子: package main import "github.com/discoriver/massh" func main() { // Create pointers to config & job config := &massh.Config{} job := &massh.Job{ Command: "echo hello world", } config.SetHosts([]string{"host1", "h
上传资源
用户评论