WriteComment queues an SSE comment
(comment string)
| 302 | |
| 303 | // WriteComment queues an SSE comment |
| 304 | func (h *SSEHandlerCh) WriteComment(comment string) error { |
| 305 | return h.queueMessage(SSEMessage{Type: SSEMsgComment, Data: comment}) |
| 306 | } |
| 307 | |
| 308 | // Err returns any error that occurred during writing |
| 309 | func (h *SSEHandlerCh) Err() error { |
nothing calls this directly
no test coverage detected