mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
internal: return an error on setting deadline
This commit is contained in:
@ -152,6 +152,10 @@ func (w *Writer) crlf() error {
|
||||
return w.wr.WriteByte('\n')
|
||||
}
|
||||
|
||||
func (w *Writer) Buffered() int {
|
||||
return w.wr.Buffered()
|
||||
}
|
||||
|
||||
func (w *Writer) Reset(wr io.Writer) {
|
||||
w.wr.Reset(wr)
|
||||
}
|
||||
|
Reference in New Issue
Block a user