gowake

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 2 Imported by: 0

README

gowake

A simple wakeonlan CLI tool. Send magic packets or listen for magic packets to aid troubleshooting WOL.

Build

go build

Usage

Send

gowake [macaddress] [flags]

Listen

gowake listen [flags]

Help

gowake --help

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(port int) (*net.UDPAddr, string, error)

func SendMagicPacket

func SendMagicPacket(packet MagicPacket, ip string, port int) error

Types

type MagicPacket

type MagicPacket [102]byte

func NewMagicPacket

func NewMagicPacket(mac string) (MagicPacket, error)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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