ha

package
v0.0.0-...-a1c8074 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AutoDiscovery bool
	Prefix        string
}

func Export

func Export(flags *flag.FlagSet) *Config

type DiscoveryMgr

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

func NewDiscoveryMgr

func NewDiscoveryMgr(mqttClient mqtt.Client, log *zap.Logger) *DiscoveryMgr

func (*DiscoveryMgr) AddMeter

func (m *DiscoveryMgr) AddMeter(mtr meter.Meter)

func (*DiscoveryMgr) Init

func (m *DiscoveryMgr) Init(config Config) error

func (*DiscoveryMgr) Run

func (m *DiscoveryMgr) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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