Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.0% on proxy.golang.org

proxy.golang.org : tideland.dev/go/httpx

Package httpx contains helper functions extending the standard net/http package for the daily work with HTTP. Most important tasks are the wrapping of standard net/http handlers with non-functional tasks like logging, recovery, authorization, throttling, and adding of CORS and ETag headers. Additionally the package contains a convenient way to map the HTTP methods to individual handler methods, like a POST to the method ServerHTTPPost(). In case the handler does not implement the matching method, the error code `http.ErrMethodNotAllowed` will be returned to the client. For RESTful APIs also the nesting of handlers and the parsing of paths for URIs like /api/v1/users/{user-id}/orders/{order-id} are supported. Additionally the work with different content types is simplified.

Registry - Source - Documentation - JSON
purl: pkg:golang/tideland.dev/go/httpx
Keywords: go, golang, http, restful-api, web
License: BSD-3-Clause
Latest release: about 2 years ago
First release: about 2 years ago
Namespace: tideland.dev/go
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 20 days ago

    Loading...
    Readme
    Loading...