GO-REST-WOL Your little Monster to Wakeup and shutdown the lazy one
| Computer | MAC Address | Broadcast IP Address | Real IP Address | API URL | ||
|---|---|---|---|---|---|---|
| TerraPC | 7C-10-C9-42-68-46 | 10.0.0.255:9 | 10.0.0.13 | /api/wakeup/computer/TerraPC | ||
| Annabeth | C8-7F-54-04-A1-66 | 10.0.0.255:9 | 10.0.0.110 | /api/wakeup/computer/Annabeth |
REST API Usage
/api/wakeup/computer/<ComputerName> Returns a JSON Object
{
"success":true,
"message":"Succesfully Wakeup Computer Computer1 with Mac 64-07-2D-BB-BB-BF on Broadcast IP 192.168.10.254:9",
"error":null
}
/api/shutdown/computer/<ComputerName>
Returns a JSON Object
{
"success":true,
"message":"Shutdown of remote machine succeeded",
"error":null
}
- success
- True or False if the WakeOnLan Packet or Shutdown command was sent
- message
- Message as string of what happened
- error
- Encoded Jsonobject from GOLANG Error Object
Project Page: https://github.com/dabondi/go-rest-wol
Built with by David Baumann, https://github.com/dabondi