aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorLena <lena@omega>2026-07-01 00:00:00 +0000
committerLena <lena@omega>2026-07-01 00:00:00 +0000
commit6aca57a7cdcc2cd0e431146e61f3321100638baa (patch)
treeb4aaaa5528adf8127a9a7d805cbe722ebbdb86e9 /go.mod
downloadxf-master.tar.gz
xf: single-file HTTP file transfer serverHEADmaster
Serve a directory tree over HTTP through one embedded page: a listing with download links and a multi-file upload form. Filesystem access is confined to the served root with os.Root, and only regular files are served. Uploads are bounded by size and part count, and every file is staged in the target directory before any is renamed into place, so a refused or interrupted request leaves the directory untouched. Standard library only, no third-party dependencies.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod3
1 files changed, 3 insertions, 0 deletions
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..0b37efa
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,3 @@
+module xf
+
+go 1.25