We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://pkg.go.dev/net#Resolver.LookupSRV has signature:
func (r *Resolver) LookupSRV(ctx context.Context, service, proto, name string) (string, []*SRV, error)
... but the docs don't make it super clear what that string result is.
string
There's a hint in the docs:
LookupSRV constructs the DNS name to look up following RFC 2782. That is, it looks up _service._proto.name.
But that makes it sound like it's an implementation detail, not that the first result is indeed that DNS name.
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/369554 mentions this issue: net: fix typo in comment
net: fix typo in comment
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
https://pkg.go.dev/net#Resolver.LookupSRV has signature:
... but the docs don't make it super clear what that
string
result is.There's a hint in the docs:
But that makes it sound like it's an implementation detail, not that the first result is indeed that DNS name.
The text was updated successfully, but these errors were encountered: