File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -625,10 +625,6 @@ func (c *connection) checkServerError(err *pb.ServerError) {
625625 }
626626}
627627
628- func (c * connection ) Write (data Buffer ) {
629- c .writeRequestsCh <- data
630- }
631-
632628func (c * connection ) SendRequest (requestID uint64 , req * pb.BaseCommand ,
633629 callback func (command * pb.BaseCommand , err error )) {
634630 c .incomingRequestsWG .Add (1 )
Original file line number Diff line number Diff line change 1818package internal
1919
2020import (
21- "bufio"
2221 "fmt"
2322 "io"
2423
@@ -29,13 +28,11 @@ import (
2928type connectionReader struct {
3029 cnx * connection
3130 buffer Buffer
32- reader * bufio.Reader
3331}
3432
3533func newConnectionReader (cnx * connection ) * connectionReader {
3634 return & connectionReader {
3735 cnx : cnx ,
38- reader : bufio .NewReader (cnx .cnx ),
3936 buffer : NewBuffer (4096 ),
4037 }
4138}
You can’t perform that action at this time.
0 commit comments