Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 789 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 789 Bytes

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.