Skip to content
Package wol implements a Wake-on-LAN client. MIT Licensed.
Go
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.builds *: modernize, switch to builds.sr.ht Apr 19, 2019
cmd/wol *: modernize, switch to builds.sr.ht Apr 19, 2019
.travis.yml .travis.yml: build Go 1.5 Aug 27, 2015
LICENSE.md wol: initial commit Aug 7, 2015
README.md *: modernize, switch to builds.sr.ht Apr 19, 2019
client.go
client_test.go wol: modernize code Apr 19, 2019
fuzz.go fuzz: add fuzz tests Aug 8, 2015
go.mod wol: modernize code Apr 19, 2019
go.sum wol: modernize code Apr 19, 2019
rawclient.go wol: modernize code Apr 19, 2019
rawclient_test.go wol: modernize code Apr 19, 2019
wol.go wol: modernize code Apr 19, 2019
wol_test.go wol: modernize code Apr 19, 2019

README.md

wol builds.sr.ht status GoDoc Go Report Card

Package wol implements a Wake-on-LAN client. MIT Licensed.

This package exposes two types, which operate slightly differently:

  • Client: WoL client which uses UDP sockets to send magic packets
  • RawClient WoL client which uses raw Ethernet sockets to send magic packets

For most use cases, the Client type will be sufficient. The RawClient type requires elevated privileges (root user) and works on Linux or *BSD/macOS only.

You can’t perform that action at this time.