https://github.com/masterminds/httputil
Framework-free HTTP utilities
https://github.com/masterminds/httputil
Last synced: 3 months ago
JSON representation
Framework-free HTTP utilities
- Host: GitHub
- URL: https://github.com/masterminds/httputil
- Owner: Masterminds
- License: other
- Created: 2016-02-21T16:51:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-21T17:27:25.000Z (over 10 years ago)
- Last Synced: 2025-01-13T21:44:25.667Z (over 1 year ago)
- Language: Go
- Size: 4.88 KB
- Stars: 4
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# httputil: Make better web apps without frameworks
This library provides utilities for building better web tools, but
without buying into a framework.
## Resolver
The Resolver is a tool to assist HTTP applications resolve from a
request to a route.
For example, you may wish to define a route like this:
```
GET /foo/*/bar
```
That route will handle any requests that come in and match the given
pattern. When a request comes in for `GET /foo/123/bar`, it should be
matched to the route above.
The `httputil.Resolver` provides this capability.
## Notes
Parts of this library were extracted from Cookoo and refactored.