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#L493: func LookupSRV(service, proto, name string) (cname string, addrs []*SRV, err error) {
lookup.go#L511: func (r *Resolver) LookupSRV(ctx context.Context, service, proto, name string) (string, []*SRV, error) {
lookup.go#L519: filteredAddrs := make([]*SRV, 0, len(addrs))
lookup.go#L710: func (r *Resolver) goLookupSRV(ctx context.Context, service, proto, name string) (target string, srvs []*SRV, err error) {
lookup.go#L754: srvs = append(srvs, &SRV{Target: srv.Target.String(), Port: srv.Port, Priority: srv.Priority, Weight: srv.Weight})
lookup_unix.go#L99: 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)