(context.Context)
| 117 | // *bytes.Buffer holds the flushed output after handleQuery. |
| 118 | func newBufferedConn(exec QueryExecutor) (*clientConn, *bytes.Buffer) { |
| 119 | clientSide, serverSide := net.Pipe() |
| 120 | // The pipe halves are only needed so bufio has something to wrap; the test |
| 121 | // reads the flushed buffer, not the pipe. Closed by the caller via t.Cleanup. |
| 122 | _ = serverSide |
| 123 | var out bytes.Buffer |
| 124 | c := &clientConn{ |
nothing calls this directly
no outgoing calls
no test coverage detected