module
Version:
v0.0.0
Opens a new window with list of versions in this module.
Published: Apr 13, 2023
License: MIT
Opens a new window with license information.
README
¶
wolly
A simple and really working WOL module fo Go
Usage Example
package main
import (
"log"
"github.com/0v3rl04d/wolly/wol"
)
func main() {
mp, err := wol.CreateMagicPacket("FF:FF:FF:FF:FF:FF")
if err != nil {
log.Panic(err)
}
err = wol.SendMagic(mp, "192.168.1.255", 9)
if err != nil {
log.Panic(err)
}
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.