aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-12 23:37:29 +0700
committerShulhan <ms@kilabit.info>2023-12-12 23:37:29 +0700
commita507deaad03fbae517946fb501f2a8a9d06cd3e2 (patch)
treedf0731f424b2b3040a7f9afa295080700fb0d7c4 /lib
parented9a59261448cf530c5c95dc0bd1923c915eafb4 (diff)
downloadpakakeh.go-a507deaad03fbae517946fb501f2a8a9d06cd3e2.tar.xz
cmd/httpdfs: implement [libhttp.Server] with [memfs.MemFS]
The httpdfs accept single directory to be served under HTTP server, with the following options, -address <IP:PORT> Run the HTTP server on specific IP address and port. Default to ` + defAddress + `. -exclude <regex> Exclude the files matched by regex from being served. Default to empty, none of files is excluded. -help Print this usage. -include <regex> Serve only list of files matched with regex. Default to include CSS, HTML, JavaScript, ICO, JPG, PNG, and SVG files only. -version Print the program version.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions