net.DNSError.IsTemporary (field)
8 uses
net (current package)
dnsclient_unix.go#L268: dnsErr.IsTemporary = true
dnsclient_unix.go#L281: dnsErr.IsTemporary = true
net.go#L610: IsTemporary bool // if true, error is temporary; not all errors set this
net.go#L634: func (e *DNSError) Temporary() bool { return e.IsTimeout || e.IsTemporary }
cgo_unix.go#L122: return 0, &DNSError{Err: err.Error(), Name: network + "/" + service, IsTemporary: isTemporary}
cgo_unix.go#L188: return nil, "", &DNSError{Err: err.Error(), Name: name, IsNotFound: isErrorNoSuchHost, IsTemporary: isTemporary}
cgo_unix.go#L319: return nil, &DNSError{Err: err.Error(), Name: addr, IsTemporary: 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. |