fileserver

command
v1.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL