Skip to content

k0ngk0ng/wol-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wake-On-LAN using HTTP

Requirement

go version >= 1.12

Build

$ git clone https://github.com/k0ngk0ng/wol-http.git
$ cd wol-http
$ export GO111MODULE=on
$ go build

Start

wol-http [-p port]

Note: the port number is 8000 by default.

Usage

$ curl 'http://localhost:8000/wol/wake?mac=xx:xx:xx:xx:xx:xx&bcast=255.255.255.255'

query string

  • mac: the mac address
  • bcast: the broadcast address, default is 255.255.255.255

About

Wake-On-Lan using HTTP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages