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#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#L704: func (r *Resolver) goLookupSRV(ctx context.Context, service, proto, name string) (target string, srvs []*SRV, err error) {
lookup.go#L748: 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) {
 |
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. |