Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DifferenceBetween ¶
func IsValidIdentifier ¶
func IsValidIdentifier(id identifier.Identifier) bool
Types ¶
type Reading ¶
type Reading struct { Id string `json:"id" bson:"id"` // Device Details DeviceId id.Identifier `json:"deviceId" bson:"deviceId"` // Owner Details OwnerPartyType party.Type `json:"ownerPartyType" bson:"ownerPartyType"` OwnerId id.Identifier `json:"ownerId" bson:"ownerId"` AssignedPartyType party.Type `json:"assignedPartyType" bson:"assignedPartyType"` AssignedId id.Identifier `json:"assignedId" bson:"assignedId"` // Reading Details MessageId id.Identifier `json:"messageId" bson:"messageId"` TimeStamp int64 `json:"timeStamp" bson:"timeStamp"` Latitude float32 `json:"latitude" bson:"latitude"` Longitude float32 `json:"longitude" bson:"longitude"` }
Click to show internal directories.
Click to hide internal directories.