Open otiai10 opened 10 years ago
As is https://github.com/otiai10/rodeo/blob/master/protocol/redis/redis.go#L110-L115
// bufSize = 0xffff tcpConnReader := bufio.NewReaderSize(conn, bufSize) fmt.Fprintf(conn, string(message)) response := make([]byte, bufSize) _, rerr := tcpConnReader.Read(response)
bufio.Scanner
reader.ReadSplit
As is https://github.com/otiai10/rodeo/blob/master/protocol/redis/redis.go#L110-L115
bufio.Scanner
orreader.ReadSplit