mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
16 lines
196 B
Markdown
16 lines
196 B
Markdown
# Static file server example
|
|
|
|
Serves files from the given directory.
|
|
|
|
# How to build
|
|
|
|
```
|
|
make
|
|
```
|
|
|
|
# How to run
|
|
|
|
```
|
|
./fileserver -addr=tcp.addr.to.listen:to -dir=/path/to/directory/to/serve
|
|
```
|