Documentation ¶
Index ¶
Constants ¶
View Source
const AltBeacon = "altbeacon"
View Source
const EddyStoneUdi = "eddystone-udi"
View Source
const IBeacon = "ibeacon"
View Source
const Unknown = "unknown"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconV1 ¶
type BeaconV1 struct { Id string `json:"id" bson:"_id"` SiteId string `json:"site_id" bson:"site_id"` Type string `json:"type" bson:"type"` Udi string `json:"udi" bson:"udi"` Label string `json:"label" bson:"label"` Center GeoPointV1 `json:"center" bson:"center"` // GeoJson Radius float32 `json:"radius" bson:"radius"` }
type BeaconV1DataPage ¶
type BeaconV1DataPage struct { Total *int64 `json:"total" bson:"total"` Data []*BeaconV1 `json:"data" bson:"data"` }
func NewBeaconV1DataPage ¶
func NewBeaconV1DataPage(total *int64, data []*BeaconV1) *BeaconV1DataPage
func NewEmptyBeaconV1DataPage ¶
func NewEmptyBeaconV1DataPage() *BeaconV1DataPage
type BeaconV1Schema ¶
type BeaconV1Schema struct {
cvalid.ObjectSchema
}
func NewBeaconV1Schema ¶
func NewBeaconV1Schema() *BeaconV1Schema
type GeoPointV1 ¶
Click to show internal directories.
Click to hide internal directories.