Versions in this module Expand all Collapse all v1 v1.1.0 Jul 9, 2026 Changes in this version + const DefaultWolBridge + const PowerServerPort + var ErrFlagNotFound = fmt.Errorf("flag not found") + func EnsureWakeOnLan(ctx context.Context) (bool, error) + func SetWol(ctx context.Context, nic string, mode WolMode) error + func ValueOfFlag(ctx context.Context, nic string, flag Flag) (string, error) + type Flag string + const SupportsWakeOn + const WakeOn + type PowerServer struct + func NewPowerServer(substrateGateway *stubs.SubstrateGatewayStub, consumer *events.RedisConsumer, ...) (*PowerServer, error) + func (p *PowerServer) Start(ctx context.Context) error + type Uptime struct + Mark utils.Mark + func NewUptime(substrateGateway *stubs.SubstrateGatewayStub, id substrate.Identity) (*Uptime, error) + func (u *Uptime) SendNow() (types.Hash, error) + func (u *Uptime) Start(ctx context.Context) + type WolMode string + const MagicPacket