memnarch/hosts/hosts.go

17 lines
306 B
Go
Raw Normal View History

2023-09-17 05:23:59 +00:00
package hosts
// a host is a name and an address
// memnarch expects an SSH private key to connect to Addr to exist at MEMNARCH_HOSTS/Name
type Host struct {
Name string
Addr string
}
type RemoteMachine interface {
Run(...string) error
}
func (*Host) Run(cmdArgs ...string) error {
return nil
}