wakeonlan

package module
v0.0.0-...-a3ebda8 Latest Latest
Warning

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

Go to latest
Published: May 14, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

README

wakeonlan

library to handle Wake on Lan protocol written in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MagicPacket

type MagicPacket struct {
	Sync      []byte
	TargetMAC []byte
	Password  []byte
}

func NewMagicPacket

func NewMagicPacket(mac string, pass []byte) (*MagicPacket, error)

func (*MagicPacket) Broadcast

func (p *MagicPacket) Broadcast() error

func (*MagicPacket) TargetMACAddr

func (p *MagicPacket) TargetMACAddr() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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