copyBuffer is a helper function to copy data between two net.Conn objects.
(dst, src net.Conn, buf []byte)
| 11 | |
| 12 | // copyBuffer is a helper function to copy data between two net.Conn objects. |
| 13 | func copyBuffer(dst, src net.Conn, buf []byte) (int64, error) { |
| 14 | return io.CopyBuffer(dst, src, buf) |
| 15 | } |
| 16 | |
| 17 | type responseWriter struct { |
| 18 | conn net.Conn |
nothing calls this directly
no outgoing calls
no test coverage detected