flush attempts to flush the response writer
()
| 231 | |
| 232 | // flush attempts to flush the response writer |
| 233 | func (h *SSEHandlerCh) flush() error { |
| 234 | return h.rc.Flush() |
| 235 | } |
| 236 | |
| 237 | // setError sets the error state thread-safely |
| 238 | func (h *SSEHandlerCh) setError(err error) { |
no test coverage detected