Documentation ¶
Index ¶
- type OpenHouseEnergyModule
- type OpenHouseEnergyModuleSolarPannel
- func (module OpenHouseEnergyModuleSolarPannel) Connect(url string) (server.OpenHouseEnergyModuleClient, error)
- func (pannel OpenHouseEnergyModuleSolarPannel) GetModuleDescription() *messages.SendModuleDescriptionRequest
- func (module OpenHouseEnergyModuleSolarPannel) Listen(port int32) (server.OpenHouseEnergyModuleServer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenHouseEnergyModule ¶
type OpenHouseEnergyModule interface { GetModuleDescription() *messages.SendModuleDescriptionRequest Listen(port int32) (server.OpenHouseEnergyModuleServer, error) Connect(url string) (server.OpenHouseEnergyModuleClient, error) }
func New ¶
func New(confFile string) OpenHouseEnergyModule
type OpenHouseEnergyModuleSolarPannel ¶
type OpenHouseEnergyModuleSolarPannel struct {
// contains filtered or unexported fields
}
func (OpenHouseEnergyModuleSolarPannel) Connect ¶
func (module OpenHouseEnergyModuleSolarPannel) Connect(url string) (server.OpenHouseEnergyModuleClient, error)
func (OpenHouseEnergyModuleSolarPannel) GetModuleDescription ¶
func (pannel OpenHouseEnergyModuleSolarPannel) GetModuleDescription() *messages.SendModuleDescriptionRequest
func (OpenHouseEnergyModuleSolarPannel) Listen ¶
func (module OpenHouseEnergyModuleSolarPannel) Listen(port int32) (server.OpenHouseEnergyModuleServer, error)
Launch the server and never stop (Hard kill for stop : TODO : better way: special message?)
Click to show internal directories.
Click to hide internal directories.