Documentation ¶
Index ¶
- Variables
- type Group
- func (g *Group) DescribeMeterReading(ctx context.Context, _ *gen.DescribeMeterReadingRequest) (*gen.MeterReadingSupport, error)
- func (g *Group) GetMeterReading(ctx context.Context, request *gen.GetMeterReadingRequest) (*gen.MeterReading, error)
- func (g *Group) PullMeterReadings(request *gen.PullMeterReadingsRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Feature = zone.FactoryFunc(func(services zone.Services) service.Lifecycle { services.Logger = services.Logger.Named("meter") 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 { gen.UnimplementedMeterApiServer gen.UnimplementedMeterInfoServer // contains filtered or unexported fields }
func (*Group) DescribeMeterReading ¶
func (g *Group) DescribeMeterReading(ctx context.Context, _ *gen.DescribeMeterReadingRequest) (*gen.MeterReadingSupport, error)
func (*Group) GetMeterReading ¶
func (g *Group) GetMeterReading(ctx context.Context, request *gen.GetMeterReadingRequest) (*gen.MeterReading, error)
func (*Group) PullMeterReadings ¶
func (g *Group) PullMeterReadings(request *gen.PullMeterReadingsRequest, server gen.MeterApi_PullMeterReadingsServer) error
Click to show internal directories.
Click to hide internal directories.