Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type Attributes struct { Auth0UserID string `json:"auth0UserID"` Bookmarked bool `json:"bookmarked"` Event string `json:"event"` ID string `json:"id"` Parent string `json:"parent"` SourceDeviceDesc string `json:"sourceDeviceDesc"` SourceDeviceID string `json:"sourceDeviceID"` Type string `json:"type"` Version string `json:"version"` VissibleName string `json:"vissibleName"` }
Attributes child object
type DeviceTokenRequest ¶
type DeviceTokenRequest struct { Code string `json:"code"` DeviceDesc string `json:"deviceDesc"` DeviceID string `json:"deviceID"` }
DeviceTokenRequest give me token
type HostResponse ¶
HostResponse what the host responded
type IDRequest ¶ added in v0.0.4
type IDRequest struct {
ID string `json:"ID"`
}
IDRequest request with only an id
type NotificationMessage ¶
type NotificationMessage struct { Attributes Attributes `json:"attributes"` MessageID string `json:"messageId"` MessageID2 string `json:"message_id"` PublishTime string `json:"publishTime"` PublishTime2 string `json:"publish_time"` }
NotificationMessage child object
type RawDocument ¶
type RawDocument struct { ID string `json:"ID"` Version int `json:"Version"` Message string `json:"Message"` Success bool `json:"Success"` BlobURLGet string `json:"BlobURLGet"` BlobURLGetExpires string `json:"BlobURLGetExpires"` ModifiedClient string `json:"ModifiedClient"` Type string `json:"Type"` VissibleName string `json:"VissibleName"` CurrentPage int `json:"CurrentPage"` Bookmarked bool `json:"Bookmarked"` Parent string `json:"Parent"` }
RawDocument just a raw document
type StatusResponse ¶
type StatusResponse struct { ID string `json:"ID"` Message string `json:"Message"` Success bool `json:"Success"` Version int `json:"Version"` }
StatusResponse what else
type UploadRequest ¶
type UploadRequest struct { ID string `json:"ID"` Parent string `json:"Parent"` Type string `json:"Type"` Version int `json:"Version"` }
UploadRequest upload reuquest
type UploadResponse ¶
type UploadResponse struct { ID string `json:"ID"` Message string `json:"Mesasge"` Success bool `json:"Success"` BlobURLPut string `json:"BlobURLPut"` BlobURLPutExpires string `json:"BlobURLPutExpires"` Version int `json:"Version"` }
UploadResponse surprise
type WsMessage ¶
type WsMessage struct { Message NotificationMessage `json:"message"` Subscription string `json:"subscription"` }
WsMessage websocket notification
Click to show internal directories.
Click to hide internal directories.