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.4
Published
Feb 27, 2021
Platform
js/wasm
Imports
6 packages
Last checked
7 hours ago

Tools for package owners.