lbs

package
v0.0.0-...-7077701 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LbsService

type LbsService struct {
	Proxy *lbp.Proxy
}

func (*LbsService) AddEntity

func (*LbsService) AddMonitoredObject

func (*LbsService) CreateCircleGeofence

Geofence

func (*LbsService) CreatePolyGeofence

func (*LbsService) DeleteEntity

func (*LbsService) DeleteGeofence

func (*LbsService) GetFenceIds

func (*LbsService) GetFenceUserId

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 (*LbsService) GetStayPoints

func (*LbsService) ListCollections

func (*LbsService) ListEntity

func (*LbsService) ListGeofences

func (*LbsService) ListMonitoredObjects

func (*LbsService) NotifyAlarms

func (*LbsService) QueryStatus

func (*LbsService) RemoveMonitoredObject

func (*LbsService) UpdateCircleGeofence

func (*LbsService) UpdateEntity

func (*LbsService) UpdatePolyGeofence

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL