relay

package
v0.0.0-...-6d7b8bb Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Relay

type Relay struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, other map[string]interface{}, site site.API) (*Relay, error)

New creates an Relay HEMS from generic config

func NewRelay

func NewRelay(root api.Circuit, limit func() (bool, error), maxPower float64) (*Relay, error)

NewRelay creates Relay HEMS

func (*Relay) Run

func (c *Relay) Run()

Jump to

Keyboard shortcuts

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