Registry / web-framework / shurcool-httpfs

shurcool-httpfs

JSON →
library0.0.0-20230704072500-f1e31cf0ba5cgogounverified

Package httpfs provides an HTTP file system implementation for Go.

go get github.com/shurcooL/httpfs
INSTALL
IMPORT
SIG · SHURCOOL-HTTPFS
S
shurcool-httpfs
web-frameworkgov0.0.0-20230704072500-f1e31cf0ba5c
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

httpfs
github.com/shurcooL/httpfs

Serve static files using httpfs.

package main import ( "net/http" "github.com/shurcooL/httpfs" ) func main() { // Example usage: serve static files from a virtual file system http.Handle("/", http.FileServer(httpfs.NewDir("/path/to/static"))) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230704072500-f1e31cf0ba5clatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
shurcool-httpfs — go get shurcool-httpfs · libregistry