cmd

package
v0.0.0-...-a8dc8ba Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

Types

type ChargerConfig

type ChargerConfig struct {
	Name string
	Type string
	URI  string
}

type CompositeCharger

type CompositeCharger struct {
	api.Charger
	api.ChargeController
}

type Config

type Config struct {
	Mqtt       MqttConfig
	Meters     []MeterConfig
	Chargers   []ChargerConfig
	Loadpoints []LoadpointConfig
}

type LoadpointConfig

type LoadpointConfig struct {
	Name        string
	Charger     string
	GridMeter   string
	PVMeter     string
	ChargeMeter string
}

type MeterConfig

type MeterConfig struct {
	Name  string
	Type  string
	Topic string
	Cmd   string
}

type MqttConfig

type MqttConfig struct {
	Broker   string
	User     string
	Password string
	Qos      int
}

Jump to

Keyboard shortcuts

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