Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/purifetchi/http2d
Really simple HTTP/2.0 server, inspired by websocketd
https://github.com/purifetchi/http2d
go golang http http2 server webdev
Last synced: 14 days ago
JSON representation
Really simple HTTP/2.0 server, inspired by websocketd
- Host: GitHub
- URL: https://github.com/purifetchi/http2d
- Owner: purifetchi
- License: mit
- Created: 2018-02-20T20:58:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T19:37:31.000Z (almost 7 years ago)
- Last Synced: 2024-10-22T12:00:07.296Z (about 2 months ago)
- Topics: go, golang, http, http2, server, webdev
- Language: Go
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - http2d
README
# http2d
Really simple HTTP/2.0 server, inspired by websocketd. Also my first Go project.# Installation
You require the net/http2 package, which can be obtained by using `go get golang.org/x/net/http2`Then build with `go build -o http2d main.go`
# Usage
Run `./http2d [script name]` for a simple HTTP/2 server.```
[sae@wide http2d]$ ./http2d --help
Usage of ./http2d:
-cert string
Path to the SSL certificate (default "server.crt")
-http1
Run in HTTP/1.1 mode, does not require SSL (default is false)
-key string
Path to the SSL key (default "server.key")
-port int
Port to run on (default 8080)
```