net.DNSError.IsTimeout (field)
5 uses
net (current package)
dnsclient_unix.go#L263: dnsErr.IsTimeout = true
net.go#L609: IsTimeout bool // if true, timed out; not all timeouts set this
net.go#L629: func (e *DNSError) Timeout() bool { return e.IsTimeout }
net.go#L634: func (e *DNSError) Temporary() bool { return e.IsTimeout || e.IsTemporary }
google.golang.org/grpc/internal/resolver/dns
dns_resolver.go#L264: if dnsErr, ok := err.(*net.DNSError); ok && !dnsErr.IsTimeout && !dnsErr.IsTemporary {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |