memnarch/hosts/hosts.go
2023-09-16 23:23:59 -06:00

17 lines
No EOL
306 B
Go

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
}