ff

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

README

ff

a dead simple http file server, just works

Install:

go install github.com/c4pt0r/ff@latest

Usage:

ff -dir /path/to/working/dir -addr :8080

Example:
$ curl -X PUT --data-binary "@test" http://localhost:8080/f
/f/frcti

$ curl http://localhost:8080/f/frcti
hello world

$ curl -X DELETE http://localhost:8080/f/frcti
OK

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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