Documentation
¶
Index ¶
Constants ¶
View Source
const ( MeterPowerUnitWatt = 1 MeterPowerUnitKilowatt = 2 MeterPowerUnitMegawatt = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandPayload ¶
func BuildCommandPayload ¶
func BuildCommandPayload(action string, optInterval plan.OptimisationInterval) CommandPayload
type ErrorPayload ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) PublishCommand ¶
func (s *Service) PublishCommand(optInterval plan.OptimisationInterval) error
func (*Service) PublishError ¶
Click to show internal directories.
Click to hide internal directories.