11 lines
350 B
Go
11 lines
350 B
Go
package serveractions
|
|
|
|
// Server struct to hold server information
|
|
type Server struct {
|
|
Name string `json:"name" mapstructure:"name"`
|
|
Mac string `json:"mac" mapstructure:"mac"`
|
|
IP string `json:"ip" mapstructure:"ip"`
|
|
SSHUser string `json:"ssh_user" mapstructure:"ssh_user"`
|
|
SSHPass string `json:"ssh_pass" mapstructure:"ssh_pass"`
|
|
}
|