Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages