Documentation ¶
Index ¶
- type LbsService
- func (l *LbsService) AddEntity(ctx context.Context, in *pb.AddEntityRequest) (*pb.AddEntityResponse, error)
- func (l *LbsService) AddMonitoredObject(ctx context.Context, in *pb.AddMonitoredObjectRequest) (*pb.AddMonitoredObjectResponse, error)
- func (l *LbsService) BatchGetHistoryAlarms(ct context.Context, in *pb.BatchGetHistoryAlarmsRequest) (*pb.BatchGetHistoryAlarmsResponse, error)
- func (l *LbsService) CreateCircleGeofence(ctx context.Context, in *pb.CreateCircleGeofenceRequest) (*pb.CreateCircleGeofenceResponse, error)
- func (l *LbsService) CreatePolyGeofence(ctx context.Context, in *pb.CreatePolyGeofenceRequest) (*pb.CreatePolyGeofenceResponse, error)
- func (l *LbsService) DeleteEntity(ctx context.Context, in *pb.DeleteEntityRequest) (*pb.DeleteEntityResponse, error)
- func (l *LbsService) DeleteGeofence(ctx context.Context, in *pb.DeleteGeofenceRequest) (*pb.DeleteGeofenceResponse, error)
- func (l *LbsService) GetFenceIds(ctx context.Context, in *pb.GetFenceIdsRequest) (*pb.GetFenceIdsResponse, error)
- func (l *LbsService) GetFenceUserId(ctx context.Context, in *pb.GetFenceUserIdRequest) (*pb.GetFenceUserIdResponse, error)
- func (l *LbsService) GetHistoryAlarms(ctx context.Context, in *pb.GetHistoryAlarmsRequest) (*pb.GetHistoryAlarmsResponse, error)
- func (l *LbsService) GetStayPoints(ctx context.Context, in *pb.GetStayPointsRequest) (*pb.GetStayPointsResponse, error)
- func (l *LbsService) ListCollections(ctx context.Context, in *pb.ListCollectionsRequest) (*pb.ListCollectionsResponse, error)
- func (l *LbsService) ListEntity(ctx context.Context, in *pb.ListEntityRequest) (*pb.ListEntityResponse, error)
- func (l *LbsService) ListGeofences(ctx context.Context, in *pb.ListGeofencesRequest) (*pb.ListGeofencesResponse, error)
- func (l *LbsService) ListMonitoredObjects(ctx context.Context, in *pb.ListMonitoredObjectsRequest) (*pb.ListMonitoredObjectsResponse, error)
- func (l *LbsService) NotifyAlarms(ctx context.Context, in *pb.NotifyAlarmsRequest) (*pb.NotifyAlarmsResponse, error)
- func (l *LbsService) QueryStatus(ctx context.Context, in *pb.QueryStatusRequest) (*pb.QueryStatusResponse, error)
- func (l *LbsService) RemoveMonitoredObject(ctx context.Context, in *pb.RemoveMonitoredObjectRequest) (*pb.RemoveMonitoredObjectResponse, error)
- func (l *LbsService) UpdateCircleGeofence(ctx context.Context, in *pb.UpdateCircleGeofenceRequest) (*pb.UpdateCircleGeofenceResponse, error)
- func (l *LbsService) UpdateEntity(ctx context.Context, in *pb.UpdateEntityRequest) (*pb.UpdateEntityResponse, error)
- func (l *LbsService) UpdatePolyGeofence(ctx context.Context, in *pb.UpdatePolyGeofenceRequest) (*pb.UpdatePolyGeofenceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LbsService ¶
func (*LbsService) AddEntity ¶
func (l *LbsService) AddEntity(ctx context.Context, in *pb.AddEntityRequest) (*pb.AddEntityResponse, error)
func (*LbsService) AddMonitoredObject ¶
func (l *LbsService) AddMonitoredObject(ctx context.Context, in *pb.AddMonitoredObjectRequest) (*pb.AddMonitoredObjectResponse, error)
func (*LbsService) BatchGetHistoryAlarms ¶
func (l *LbsService) BatchGetHistoryAlarms(ct context.Context, in *pb.BatchGetHistoryAlarmsRequest) (*pb.BatchGetHistoryAlarmsResponse, error)
func (*LbsService) CreateCircleGeofence ¶
func (l *LbsService) CreateCircleGeofence(ctx context.Context, in *pb.CreateCircleGeofenceRequest) (*pb.CreateCircleGeofenceResponse, error)
Geofence
func (*LbsService) CreatePolyGeofence ¶
func (l *LbsService) CreatePolyGeofence(ctx context.Context, in *pb.CreatePolyGeofenceRequest) (*pb.CreatePolyGeofenceResponse, error)
func (*LbsService) DeleteEntity ¶
func (l *LbsService) DeleteEntity(ctx context.Context, in *pb.DeleteEntityRequest) (*pb.DeleteEntityResponse, error)
func (*LbsService) DeleteGeofence ¶
func (l *LbsService) DeleteGeofence(ctx context.Context, in *pb.DeleteGeofenceRequest) (*pb.DeleteGeofenceResponse, error)
func (*LbsService) GetFenceIds ¶
func (l *LbsService) GetFenceIds(ctx context.Context, in *pb.GetFenceIdsRequest) (*pb.GetFenceIdsResponse, error)
func (*LbsService) GetFenceUserId ¶
func (l *LbsService) GetFenceUserId(ctx context.Context, in *pb.GetFenceUserIdRequest) (*pb.GetFenceUserIdResponse, error)
func getFenceIds(fences []*GeofenceRecord) *pb.GetFenceIdsResponse { fenceIdsResp := &pb.GetFenceIdsResponse{} for _, val := range fences { fenceIdsResp.FenceIds = append(fenceIdsResp.FenceIds, val.FenceId) } logr.Debugln("fenceIds:", fenceIdsResp.FenceIds) return fenceIdsResp }
func (*LbsService) GetHistoryAlarms ¶
func (l *LbsService) GetHistoryAlarms(ctx context.Context, in *pb.GetHistoryAlarmsRequest) (*pb.GetHistoryAlarmsResponse, error)
func (*LbsService) GetStayPoints ¶
func (l *LbsService) GetStayPoints(ctx context.Context, in *pb.GetStayPointsRequest) (*pb.GetStayPointsResponse, error)
func (*LbsService) ListCollections ¶
func (l *LbsService) ListCollections(ctx context.Context, in *pb.ListCollectionsRequest) (*pb.ListCollectionsResponse, error)
func (*LbsService) ListEntity ¶
func (l *LbsService) ListEntity(ctx context.Context, in *pb.ListEntityRequest) (*pb.ListEntityResponse, error)
func (*LbsService) ListGeofences ¶
func (l *LbsService) ListGeofences(ctx context.Context, in *pb.ListGeofencesRequest) (*pb.ListGeofencesResponse, error)
func (*LbsService) ListMonitoredObjects ¶
func (l *LbsService) ListMonitoredObjects(ctx context.Context, in *pb.ListMonitoredObjectsRequest) (*pb.ListMonitoredObjectsResponse, error)
func (*LbsService) NotifyAlarms ¶
func (l *LbsService) NotifyAlarms(ctx context.Context, in *pb.NotifyAlarmsRequest) (*pb.NotifyAlarmsResponse, error)
func (*LbsService) QueryStatus ¶
func (l *LbsService) QueryStatus(ctx context.Context, in *pb.QueryStatusRequest) (*pb.QueryStatusResponse, error)
func (*LbsService) RemoveMonitoredObject ¶
func (l *LbsService) RemoveMonitoredObject(ctx context.Context, in *pb.RemoveMonitoredObjectRequest) (*pb.RemoveMonitoredObjectResponse, error)
func (*LbsService) UpdateCircleGeofence ¶
func (l *LbsService) UpdateCircleGeofence(ctx context.Context, in *pb.UpdateCircleGeofenceRequest) (*pb.UpdateCircleGeofenceResponse, error)
func (*LbsService) UpdateEntity ¶
func (l *LbsService) UpdateEntity(ctx context.Context, in *pb.UpdateEntityRequest) (*pb.UpdateEntityResponse, error)
func (*LbsService) UpdatePolyGeofence ¶
func (l *LbsService) UpdatePolyGeofence(ctx context.Context, in *pb.UpdatePolyGeofenceRequest) (*pb.UpdatePolyGeofenceResponse, error)
Directories ¶
Path | Synopsis |
---|---|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License.
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use p file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.