https://github.com/mdlayher/wol
Package wol implements a Wake-on-LAN client. MIT Licensed.
https://github.com/mdlayher/wol
Last synced: about 1 month ago
JSON representation
Package wol implements a Wake-on-LAN client. MIT Licensed.
- Host: GitHub
- URL: https://github.com/mdlayher/wol
- Owner: mdlayher
- License: mit
- Created: 2015-08-07T21:38:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-21T23:16:39.000Z (about 3 years ago)
- Last Synced: 2025-02-27T19:27:03.100Z (about 2 months ago)
- Language: Go
- Size: 21.5 KB
- Stars: 100
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# wol [](https://builds.sr.ht/~mdlayher/wol?) [](https://godoc.org/github.com/mdlayher/wol) [](https://goreportcard.com/report/github.com/mdlayher/wol)
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 packetsFor 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.