package shared // Instruction is a structured way of sending commands type Instruction struct { Command string `json:"command"` Args []string `json:"args"` } // CmdResponse is a response from the client to the server type CmdResponse struct { Stdout string `json:"stdout"` Stderr string `json:"stderr"` ExitCode int `json:"exitcode"` } // OSInfo needs a comment type OSInfo struct { OSType string `json:"os_type"` OSArch string `json:"os_arch"` }