Documentation ¶
Index ¶
- Variables
- type Group
- func (g *Group) GetEnterLeaveEvent(ctx context.Context, request *traits.GetEnterLeaveEventRequest) (*traits.EnterLeaveEvent, error)
- func (g *Group) PullEnterLeaveEvents(request *traits.PullEnterLeaveEventsRequest, ...) error
- func (g *Group) ResetEnterLeaveTotals(ctx context.Context, request *traits.ResetEnterLeaveTotalsRequest) (*traits.ResetEnterLeaveTotalsResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Feature = zone.FactoryFunc(func(services zone.Services) service.Lifecycle { services.Logger = services.Logger.Named("enterleave") 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.UnimplementedEnterLeaveSensorApiServer // contains filtered or unexported fields }
func (*Group) GetEnterLeaveEvent ¶
func (g *Group) GetEnterLeaveEvent(ctx context.Context, request *traits.GetEnterLeaveEventRequest) (*traits.EnterLeaveEvent, error)
func (*Group) PullEnterLeaveEvents ¶
func (g *Group) PullEnterLeaveEvents(request *traits.PullEnterLeaveEventsRequest, server traits.EnterLeaveSensorApi_PullEnterLeaveEventsServer) error
func (*Group) ResetEnterLeaveTotals ¶
func (g *Group) ResetEnterLeaveTotals(ctx context.Context, request *traits.ResetEnterLeaveTotalsRequest) (*traits.ResetEnterLeaveTotalsResponse, error)
Click to show internal directories.
Click to hide internal directories.