Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdlayher/wol
Package wol implements a Wake-on-LAN client. MIT Licensed.
https://github.com/mdlayher/wol
Last synced: 17 days 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 (over 2 years ago)
- Last Synced: 2024-10-14T17:53:11.421Z (30 days ago)
- Language: Go
- Size: 21.5 KB
- Stars: 97
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# wol [![builds.sr.ht status](https://builds.sr.ht/~mdlayher/wol.svg)](https://builds.sr.ht/~mdlayher/wol?) [![GoDoc](https://godoc.org/github.com/mdlayher/wol?status.svg)](https://godoc.org/github.com/mdlayher/wol) [![Go Report Card](https://goreportcard.com/badge/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.