fileserver

command
v4.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 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