KeyError sets a key error field on KeyErrors
(userID, deviceID string, err *KeyError)
| 214 | |
| 215 | // KeyError sets a key error field on KeyErrors |
| 216 | func (r *PerformUploadKeysResponse) KeyError(userID, deviceID string, err *KeyError) { |
| 217 | if r.KeyErrors[userID] == nil { |
| 218 | r.KeyErrors[userID] = make(map[string]*KeyError) |
| 219 | } |
| 220 | r.KeyErrors[userID][deviceID] = err |
| 221 | } |
| 222 | |
| 223 | type PerformClaimKeysRequest struct { |
| 224 | // Map of user_id to device_id to algorithm name |
no outgoing calls
no test coverage detected