ErrAPIKeyRequired valid API key is required (403).
(ts time.Time)
| 1317 | |
| 1318 | // ErrAPIKeyRequired valid API key is required (403). |
| 1319 | func ErrAPIKeyRequired(ts time.Time) *ServerComMessage { |
| 1320 | return &ServerComMessage{ |
| 1321 | Ctrl: &MsgServerCtrl{ |
| 1322 | Code: http.StatusForbidden, |
| 1323 | Text: "valid API key required", |
| 1324 | Timestamp: ts, |
| 1325 | }, |
| 1326 | } |
| 1327 | } |
| 1328 | |
| 1329 | // ErrSessionNotFound valid API key is required (403). |
| 1330 | func ErrSessionNotFound(ts time.Time) *ServerComMessage { |
no outgoing calls
no test coverage detected
searching dependent graphs…