Helping out a Friend - go-rest-wol

October 6, 2017

Was talking to a friend and he was i need of simple solution to wakeup computers remote over a rest call.

I want to learn some golang also, always read some epic stuff about it on the interwebz so why not!

So here it is, mostly 1 or 2 evenings work, and looking epic :-)


Download the Release Binarys from or grab the code from the Repo

Copy it to a Folder and run it

It use the computer.csv in the same folder so you can append only the Computername on the Get Request



HTTP Request

HTTP GET /api/computer/<Computername>
  "message":"Succesfully Wakeup Computer Computer1 with Mac 64-07-2D-BB-BB-BF on Broadcast IP",

In addition it has some params for configuration

Commandline Argument Example Description
–port –port 80 Define the Port where the Webserver will listen to (Default: 8080)
–file –file comp.csv Path to the CSV File containing the Computerlist

Was an realy good execise thanks for the request! So i got meaning behind learning golang :-)

I realy like the languange its like the c++ i ever wanted :-) and the crossplattform stuff is an WIN!

And like always…

Improve, Automate, Rinse and Repeat!

comments powered by Disqus