type net.SRV
9 uses
net (current package)
dnsclient.go#L164: type SRV struct {
dnsclient.go#L172: type byPriorityWeight []*SRV
dnsclient.go#L200: slices.SortFunc(addrs, func(a, b *SRV) int {
lookup.go#L494: func LookupSRV(service, proto, name string) (cname string, addrs []*SRV, err error) {
lookup.go#L512: func (r *Resolver) LookupSRV(ctx context.Context, service, proto, name string) (string, []*SRV, error) {
lookup.go#L520: filteredAddrs := make([]*SRV, 0, len(addrs))
lookup.go#L716: func (r *Resolver) goLookupSRV(ctx context.Context, service, proto, name string) (target string, srvs []*SRV, err error) {
lookup.go#L760: srvs = append(srvs, &SRV{Target: srv.Target.String(), Port: srv.Port, Priority: srv.Priority, Weight: srv.Weight})
lookup_unix.go#L97: func (r *Resolver) lookupSRV(ctx context.Context, service, proto, name string) (string, []*SRV, error) {
 |
The pages are generated with Golds v0.8.4. (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. |