Registry / web-framework / shurcool-httpgzip

shurcool-httpgzip

JSON →
library0.0.0-20230704072819-d1585fc322fagogounverified

Package httpgzip provides net/http-like primitives that use gzip compression when serving HTTP requests.

go get github.com/shurcooL/httpgzip
INSTALL
IMPORT
SIG · SHURCOOL-HTTPGZIP
S
shurcool-httpgzip
web-frameworkgov0.0.0-20230704072819-d1585fc322fa
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.

httpgzip
github.com/shurcooL/httpgzip

Serves static files with gzip compression.

package main import ( "net/http" "github.com/shurcooL/httpgzip" ) func main() { http.Handle("/", httpgzip.FileServer(http.Dir("./public"))) http.ListenAndServe(":8080", nil) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230704072819-d1585fc322falatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
shurcool-httpgzip — go get shurcool-httpgzip · libregistry