Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Feature = zone.FactoryFunc(func(services zone.Services) service.Lifecycle { services.Logger = services.Logger.Named("electric") f := &feature{ announce: services.Node, devices: services.Devices, clients: services.Node, logger: services.Logger, } f.Service = service.New(service.MonoApply(f.applyConfig)) return f })
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { traits.UnimplementedElectricApiServer // contains filtered or unexported fields }
func (*Group) GetDemand ¶
func (g *Group) GetDemand(ctx context.Context, request *traits.GetDemandRequest) (*traits.ElectricDemand, error)
func (*Group) PullDemand ¶
func (g *Group) PullDemand(request *traits.PullDemandRequest, server traits.ElectricApi_PullDemandServer) error
Click to show internal directories.
Click to hide internal directories.