wakeonlan

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() modules.Module

Types

type WakeOnLanConfig

type WakeOnLanConfig struct {
	Hostname string `validate:"required"`
	Mac      string `validate:"required"`
}

type WakeOnLanModule

type WakeOnLanModule struct {
	modules.DefaultModule
	Config WakeOnLanConfig
}

func (*WakeOnLanModule) Init

func (m *WakeOnLanModule) Init(config map[string]interface{}) error

func (*WakeOnLanModule) PowerOn

func (m *WakeOnLanModule) PowerOn() error

func (*WakeOnLanModule) State

Jump to

Keyboard shortcuts

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