net.SRV.Weight (field)
7 uses
net (current package)
dnsclient.go#L168: Weight uint16
dnsclient.go#L179: sum += int(addr.Weight)
dnsclient.go#L185: s += int(addrs[i].Weight)
dnsclient.go#L193: sum -= int(addrs[0].Weight)
dnsclient.go#L204: return cmp.Compare(a.Weight, b.Weight)
lookup.go#L748: srvs = append(srvs, &SRV{Target: srv.Target.String(), Port: srv.Port, Priority: srv.Priority, Weight: srv.Weight})
![]() |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |