Skip to content

0v3rl04d/wolly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wolly

A simple and really working WOL module fo Go

Import module

go get github.com/0v3rl04d/wolly

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)
    }
}

About

A simple and really working WOL module fo Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages