Skip to content

transport/http: Strange phrase in NewServer documentation. #560

@dmitshur

Description

@dmitshur

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions