xesite/vendor/gopkg.in/segmentio/analytics-go.v3/timeout_16.go

11 lines
195 B
Go

// +build go1.6
package analytics
import "net/http"
// http clients on versions of go after 1.6 always support timeout.
func supportsTimeout(transport http.RoundTripper) bool {
return true
}