Registry / networking / kortschak-wol

kortschak-wol

JSON →
library0.0.0-20200729010619-da482cc4850agogounverified

Package wol provides a Wake On LAN function.

go get github.com/kortschak/wol
INSTALL
IMPORT
SIG · KORTSCHAK-WOL
K
kortschak-wol
networkinggov0.0.0-20200729010619-da482cc4850a
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

wol
github.com/kortschak/wol

Shows how to send a Wake-on-LAN magic packet using a MAC address.

package main import ( "fmt" "github.com/kortschak/wol" ) func main() { // Example: send a magic packet to wake a device err := wol.Wake("00:11:22:33:44:55") if err != nil { panic(err) } fmt.Println("Magic packet sent") }
Debug
Known issues
gotchaRequires broadcast capability on the network; may not work across subnets without proper routing.
fix
Ensure the target device is on the same subnet or configure network for directed broadcasts.
affects: all
Upgrade
Version history
0.0.0-20200729010619-da482cc4850alatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
kortschak-wol — go get kortschak-wol · libregistry