mirror of
https://github.com/rclone/rclone.git
synced 2024-12-11 17:51:12 +01:00
e56c6402a7
golang.org/x/net/http2 no longer builds on go1.8
23 lines
456 B
Go
23 lines
456 B
Go
//+build go1.9,!go1.10
|
|
|
|
// Fallback deadline setting for pre go1.10
|
|
|
|
package restic
|
|
|
|
import "time"
|
|
|
|
// SetDeadline sets the read/write deadline.
|
|
func (s *StdioConn) SetDeadline(t time.Time) error {
|
|
return nil
|
|
}
|
|
|
|
// SetReadDeadline sets the read/write deadline.
|
|
func (s *StdioConn) SetReadDeadline(t time.Time) error {
|
|
return nil
|
|
}
|
|
|
|
// SetWriteDeadline sets the read/write deadline.
|
|
func (s *StdioConn) SetWriteDeadline(t time.Time) error {
|
|
return nil
|
|
}
|