type net.DNSError
43 uses
net (current package)
dnsclient.go#L33: return "", &DNSError{Err: "unrecognized address", Name: addr}
dnsclient_unix.go#L257: dnsErr := &DNSError{
dnsclient_unix.go#L275: dnsErr := &DNSError{
dnsclient_unix.go#L298: lastErr = &DNSError{
dnsclient_unix.go#L307: lastErr.(*DNSError).IsNotFound = true
dnsclient_unix.go#L397: return dnsmessage.Parser{}, "", &DNSError{Err: errNoSuchHost.Error(), Name: name, IsNotFound: true}
dnsclient_unix.go#L422: if err, ok := err.(*DNSError); ok {
dnsclient_unix.go#L574: return nil, dnsmessage.Name{}, &DNSError{Err: errNoSuchHost.Error(), Name: name, IsNotFound: true}
dnsclient_unix.go#L649: lastErr = &DNSError{
dnsclient_unix.go#L662: lastErr = &DNSError{
dnsclient_unix.go#L674: lastErr = &DNSError{
dnsclient_unix.go#L685: lastErr = &DNSError{
dnsclient_unix.go#L710: if lastErr, ok := lastErr.(*DNSError); ok {
dnsclient_unix.go#L760: return nil, &DNSError{
dnsclient_unix.go#L769: return nil, &DNSError{
dnsclient_unix.go#L779: return nil, &DNSError{
lookup.go#L179: return nil, &DNSError{Err: errNoSuchHost.Error(), Name: host, IsNotFound: true}
lookup.go#L265: return nil, &DNSError{Err: errNoSuchHost.Error(), Name: host, IsNotFound: true}
lookup_unix.go#L150: return "", nil, &DNSError{
lookup_unix.go#L158: return "", nil, &DNSError{
lookup_unix.go#L171: return "", nil, &DNSError{
lookup_unix.go#L195: return nil, &DNSError{
lookup_unix.go#L203: return nil, &DNSError{
lookup_unix.go#L213: return nil, &DNSError{
lookup_unix.go#L238: return nil, &DNSError{
lookup_unix.go#L246: return nil, &DNSError{
lookup_unix.go#L256: return nil, &DNSError{
lookup_unix.go#L279: return nil, &DNSError{
lookup_unix.go#L287: return nil, &DNSError{
lookup_unix.go#L297: return nil, &DNSError{
net.go#L605: type DNSError struct {
net.go#L614: func (e *DNSError) Error() string {
net.go#L629: func (e *DNSError) Timeout() bool { return e.IsTimeout }
net.go#L634: func (e *DNSError) Temporary() bool { return e.IsTimeout || e.IsTemporary }
cgo_unix.go#L78: return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}, true
cgo_unix.go#L122: return 0, &DNSError{Err: err.Error(), Name: network + "/" + service, IsTemporary: isTemporary}
cgo_unix.go#L138: return 0, &DNSError{Err: "unknown port", Name: network + "/" + service}
cgo_unix.go#L188: return nil, "", &DNSError{Err: err.Error(), Name: name, IsNotFound: isErrorNoSuchHost, IsTemporary: isTemporary}
cgo_unix.go#L275: return nil, &DNSError{Err: "invalid address", Name: addr}, true
cgo_unix.go#L279: return nil, &DNSError{Err: "invalid address " + ip.String(), Name: addr}, true
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 {
go113.go#L27: if dnsErr, ok := err.(*net.DNSError); ok && dnsErr.IsNotFound {
 |
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. |