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
http.NewServer documentation says:
// NewServer constructs a new server, which implements http.Server and wraps // the provided endpoint.
I don't understand what it means by "implements http.Server". http.Server is a struct. Is there a typo in the documentation?
http.Server
The text was updated successfully, but these errors were encountered:
It implements the Handler interface. I agree this looks like an oversight.
Sorry, something went wrong.
transport/http: docs: clarify Server implements
471716c
Fixes #560.
d09a670
Thanks for resolving this issue @peterbourgon! Now it makes sense to me.
No branches or pull requests
http.NewServer documentation says:
I don't understand what it means by "implements http.Server".
http.Server
is a struct. Is there a typo in the documentation?The text was updated successfully, but these errors were encountered: