mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
build: remove unused struct fields spotted by structcheck
This commit is contained in:
@@ -42,10 +42,7 @@ func StartHTTPTokenBucket() {
|
||||
// A net.Conn that sets a deadline for every Read or Write operation
|
||||
type timeoutConn struct {
|
||||
net.Conn
|
||||
readTimer *time.Timer
|
||||
writeTimer *time.Timer
|
||||
timeout time.Duration
|
||||
off time.Time
|
||||
timeout time.Duration
|
||||
}
|
||||
|
||||
// create a timeoutConn using the timeout
|
||||
|
||||
Reference in New Issue
Block a user