type net.byPriorityWeight
7 uses
net (current package)
dnsclient.go#L161: type byPriorityWeight []*SRV
dnsclient.go#L163: func (s byPriorityWeight) Len() int { return len(s) }
dnsclient.go#L164: func (s byPriorityWeight) Less(i, j int) bool {
dnsclient.go#L167: func (s byPriorityWeight) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
dnsclient.go#L171: func (addrs byPriorityWeight) shuffleByWeight() {
dnsclient.go#L194: func (addrs byPriorityWeight) sort() {
lookup_unix.go#L179: byPriorityWeight(srvs).sort()
![]() |
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. |