1
0
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:
Vladimir Mihailenco
2019-08-16 17:45:45 +03:00
parent d02c6f40dc
commit eaeb8f2a08
3 changed files with 30 additions and 10 deletions

View File

@ -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)
}