Categorygithub.com/c4pt0r/ff
modulepackage
1.0.0
Repository: https://github.com/c4pt0r/ff.git
Documentation: pkg.go.dev

# 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

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

FileMeta is the meta of file, it's used to store in DB(sqlite).