build: remove unused struct fields spotted by structcheck

This commit is contained in:
Nick Craig-Wood
2018-05-05 11:33:01 +01:00
parent 1320e84bc2
commit e80ae4e09c
7 changed files with 13 additions and 24 deletions

View File

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