()
| 123 | } |
| 124 | |
| 125 | func newMockSSERespWriter() *mockSSERespWriter { |
| 126 | return &mockSSERespWriter{ |
| 127 | newMockHTTPRespWriter(), |
| 128 | make(chan []byte), |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | func (w *mockSSERespWriter) Write(data []byte) (int, error) { |
| 133 | newData := make([]byte, len(data)) |
no test coverage detected