var net.confVal
19 uses
net (current package)
conf.go#L37: confVal = &conf{goos: runtime.GOOS}
conf.go#L43: return confVal
conf.go#L48: confVal.dnsDebugLevel = debugLevel
conf.go#L49: confVal.netGo = netGo || dnsMode == "go"
conf.go#L50: confVal.netCgo = netCgo || dnsMode == "cgo"
conf.go#L52: if confVal.dnsDebugLevel > 0 {
conf.go#L55: case confVal.netGo:
conf.go#L61: case confVal.forceCgoLookupHost:
conf.go#L73: confVal.forceCgoLookupHost = true
conf.go#L83: confVal.netCgo ||
conf.go#L85: confVal.forceCgoLookupHost = true
conf.go#L92: confVal.forceCgoLookupHost = true
conf.go#L97: confVal.nss = parseNSSConfFile("/etc/nsswitch.conf")
conf.go#L100: confVal.resolv = dnsReadConfig("/etc/resolv.conf")
conf.go#L101: if confVal.resolv.err != nil && !os.IsNotExist(confVal.resolv.err) &&
conf.go#L102: !os.IsPermission(confVal.resolv.err) {
conf.go#L107: confVal.forceCgoLookupHost = true
conf.go#L111: confVal.hasMDNSAllow = true
![]() |
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. |