Deprecated: Please upgrade to the latest major version: go get github.com/go-chi/chi/v5
fileserver command
FileServer =========== 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
- v1.5.5 (latest)
- Published
- Sep 7, 2023
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 2 days ago –
Tools for package owners.