fileserver command

This example demonstrates how to serve static files from your filesystem.

Boot the server:

$ go run main.go

Client requests:

$ curl http://localhost:3333/files/
<pre>
<a href="notes.txt">notes.txt</a>
</pre>

$ curl http://localhost:3333/files/notes.txt
Notessszzz
Version
v5.1.0
Published
Jun 28, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
1 hour ago

Tools for package owners.