You've already forked go-clickhouse
mirror of
https://github.com/uptrace/go-clickhouse.git
synced 2025-08-06 22:12:48 +02:00
feat: add proper Rows implementation and some optimizations
This commit is contained in:
@ -49,6 +49,11 @@ func (cn *Conn) RemoteAddr() net.Addr {
|
||||
return cn.netConn.RemoteAddr()
|
||||
}
|
||||
|
||||
func (cn *Conn) Reader(ctx context.Context, timeout time.Duration) *chproto.Reader {
|
||||
_ = cn.netConn.SetReadDeadline(cn.deadline(ctx, timeout))
|
||||
return cn.rd
|
||||
}
|
||||
|
||||
func (cn *Conn) WithReader(
|
||||
ctx context.Context,
|
||||
timeout time.Duration,
|
||||
|
Reference in New Issue
Block a user