(flusher any)
| 55 | } |
| 56 | |
| 57 | func flush(flusher any) bool { |
| 58 | f, ok := flusher.(http.Flusher) |
| 59 | if !ok { |
| 60 | return false |
| 61 | } |
| 62 | f.Flush() |
| 63 | return true |
| 64 | } |
| 65 | |
| 66 | func wrapPendingWrite(data []byte, c net.Conn) *pendingWriteConn { |
| 67 | return &pendingWriteConn{ |
no outgoing calls
no test coverage detected