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

11 lines
195 B
Go
Raw Normal View History

2018-08-22 03:17:59 +00:00
// +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
}