wolly

module
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: MIT

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

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL