type net.SRV
10 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) {
google.golang.org/grpc/internal/resolver/dns/internal
internal.go#L34: LookupSRV(ctx context.Context, service, proto, name string) (cname string, addrs []*net.SRV, err error)