Documentation ¶
Index ¶
Constants ¶
View Source
const DeviceIdentifier identifier.Type = "SigbugDeviceIdentifier"
Variables ¶
This section is empty.
Functions ¶
func IsValidIdentifier ¶
func IsValidIdentifier(id identifier.Identifier) bool
Types ¶
type Identifier ¶
type Identifier struct {
DeviceId string `json:"deviceId"`
}
func (Identifier) IsValid ¶
func (i Identifier) IsValid() error
func (Identifier) ToFilter ¶
func (i Identifier) ToFilter() bson.M
func (Identifier) Type ¶
func (i Identifier) Type() identifier.Type
type Sigbug ¶
type Sigbug struct { Id string `json:"id" bson:"id"` DeviceId string `json:"deviceId" bson:"deviceId"` 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"` LastMessage sigfoxBackendDataCallbackMessage.Message `json:"lastMessage" bson:"lastMessage"` }
Click to show internal directories.
Click to hide internal directories.