net.SRV.Weight (field)
7 uses
	net (current package)
		dnsclient.go#L154: 	Weight   uint16
		dnsclient.go#L162: 	return s[i].Priority < s[j].Priority || (s[i].Priority == s[j].Priority && s[i].Weight < s[j].Weight)
		dnsclient.go#L171: 		sum += int(addr.Weight)
		dnsclient.go#L177: 			s += int(addrs[i].Weight)
		dnsclient.go#L185: 		sum -= int(addrs[0].Weight)
		lookup.go#L751: 		srvs = append(srvs, &SRV{Target: srv.Target.String(), Port: srv.Port, Priority: srv.Priority, Weight: srv.Weight})
|  | The pages are generated with Golds v0.6.7. (GOOS=linux 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. |