ErrUserNotFound user is not found with explicit server and incoming request timestamps (404).
(id, topic string, serverTs, incomingReqTs time.Time)
| 1363 | // ErrUserNotFound user is not found |
| 1364 | // with explicit server and incoming request timestamps (404). |
| 1365 | func ErrUserNotFound(id, topic string, serverTs, incomingReqTs time.Time) *ServerComMessage { |
| 1366 | return &ServerComMessage{ |
| 1367 | Ctrl: &MsgServerCtrl{ |
| 1368 | Id: id, |
| 1369 | Code: http.StatusNotFound, // 404 |
| 1370 | Text: "user not found", |
| 1371 | Topic: topic, |
| 1372 | Timestamp: serverTs, |
| 1373 | }, |
| 1374 | Id: id, |
| 1375 | Timestamp: incomingReqTs, |
| 1376 | } |
| 1377 | } |
| 1378 | |
| 1379 | // ErrUserNotFoundReply user is not found |
| 1380 | // with explicit server and incoming request timestamps in response to a client request (404). |
no outgoing calls
no test coverage detected
searching dependent graphs…