https://github.com/mvrilo/go-web
Go web experiments
https://github.com/mvrilo/go-web
Last synced: 9 months ago
JSON representation
Go web experiments
- Host: GitHub
- URL: https://github.com/mvrilo/go-web
- Owner: mvrilo
- Fork: true (fiorix/go-web)
- Created: 2013-05-21T02:47:08.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-21T04:35:11.000Z (about 13 years ago)
- Last Synced: 2025-03-26T19:02:14.080Z (over 1 year ago)
- Language: Go
- Size: 754 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-web
go-web is a collection of utilities for http servers written in Go.
It has the following packages:
- autogzip: An http.Handler that supports on-the-fly gzip encoding.
- httpxtra: Essential logging and support for X-Real-IP and X-Forwarded-For.
- remux: A very simple request multiplexer that supports regular expressions.
- sse: Server-Sent Events, a.k.a. HTTP push notifications.
*NOTE*: go-web used to be an experimental fork of Go's
[net/http](http://golang.org/pkg/net/http/) package. It's no longer a fork and
now uses the standard http package, making it easier to be used along with
[Gorilla Toolkit](http://www.gorillatoolkit.org) and other packages.
## Examples
There are some nice [examples](https://github.com/fiorix/go-web/tree/master/examples) including a full featured web application with sign up, using MySQL and
Redis for storage.
There's also some live stuff:
- freegeoip at http://freegeoip.net
- sse demo at http://cos.pe