mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Add cache writing
This commit is contained in:
@ -63,6 +63,10 @@ func (cn *Conn) RemoteAddr() net.Addr {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (cn *Conn) GetRawOutput() []byte {
|
||||
return cn.rd.GetLine()
|
||||
}
|
||||
|
||||
func (cn *Conn) WithReader(
|
||||
ctx context.Context, timeout time.Duration, fn func(rd *proto.Reader) error,
|
||||
) error {
|
||||
|
Reference in New Issue
Block a user