updated README
This commit is contained in:
parent
b0e04fb00c
commit
5da74745cb
@ -2,10 +2,16 @@
|
|||||||
|
|
||||||
Provides simple HTTP file server; Its so simple to do with golang; looks like nobody bothers to provide a ready-to-download package to actually do it.
|
Provides simple HTTP file server; Its so simple to do with golang; looks like nobody bothers to provide a ready-to-download package to actually do it.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```golang
|
||||||
|
go install git.thirdage.dev/night/handler@latest
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
Calling without any arguments defaults to serving ./ at 0.0.0.0:8080
|
Calling without any arguments defaults to serving `./` at `0.0.0.0:8080`
|
||||||
|
|
||||||
```golang
|
```golang
|
||||||
$ ./handler
|
$ ./handler
|
||||||
|
Loading…
Reference in New Issue
Block a user