(chatID uuid.UUID, status codersdk.ChatStatus)
| 368 | } |
| 369 | |
| 370 | func statusEvent(chatID uuid.UUID, status codersdk.ChatStatus) codersdk.ChatStreamEvent { |
| 371 | return codersdk.ChatStreamEvent{ |
| 372 | Type: codersdk.ChatStreamEventTypeStatus, |
| 373 | ChatID: chatID, |
| 374 | Status: &codersdk.ChatStreamStatus{Status: status}, |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | func messagePartEvent(chatID uuid.UUID) codersdk.ChatStreamEvent { |
| 379 | return codersdk.ChatStreamEvent{ |
no outgoing calls
no test coverage detected