Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OldDeviceData ¶
type OldDeviceData struct { // Contains the latest device_one_time_keys_count values. // Set whenever this field arrives down the v2 poller, and it replaces what was previously there. OTKCounts internal.MapStringInt `json:"otk"` // Contains the latest device_unused_fallback_key_types value // Set whenever this field arrives down the v2 poller, and it replaces what was previously there. // If this is a nil slice this means no change. If this is an empty slice then this means the fallback key was used up. FallbackKeyTypes []string `json:"fallback"` DeviceLists OldDeviceLists `json:"dl"` // bitset for which device data changes are present. They accumulate until they get swapped over // when they get reset ChangedBits int `json:"c"` UserID string DeviceID string }
type OldDeviceLists ¶
type OldDeviceLists struct { // map user_id -> DeviceList enum New internal.MapStringInt `json:"n"` Sent internal.MapStringInt `json:"s"` }
Click to show internal directories.
Click to hide internal directories.