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
- v4.1.1+incompatible
- Published
- Apr 16, 2020
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 15 hours ago –
Tools for package owners.