https://github.com/codedust/go-httpserve
HTTP and HTTPS on the same port and simplified basic HTTP authentication for go
https://github.com/codedust/go-httpserve
Last synced: 10 months ago
JSON representation
HTTP and HTTPS on the same port and simplified basic HTTP authentication for go
- Host: GitHub
- URL: https://github.com/codedust/go-httpserve
- Owner: codedust
- License: mpl-2.0
- Created: 2015-06-14T20:46:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-28T20:37:46.000Z (over 10 years ago)
- Last Synced: 2025-02-15T03:15:08.324Z (12 months ago)
- Language: Go
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-httpserve
============
go-httpserve is a lightweight go library to
- run one single HTTP server on *a single port* which upgrades to HTTPS when a client tries to connect via HTTP.
- simplify basic HTTP authentication.
Pull requests, bug reporting and feature request (via github issues) are always welcome. :)
## Installation
```
go get github.com/codedust/go-httpserve
```
How to run
----------
If you are unfamiliar with Go, please start by reading
[How to Write Go Code](http://golang.org/doc/code.html).
The best place to get started are the examples in [examples/](examples/).
Simple run the examples with `go run` and visit
[http://localhost:8080/](http://localhost:8080/).
Feel free to ask for help in the issue tracker. ;)
## License
go-httpserve is licensed under the [Mozilla Public License](LICENSE).