Releases: chilledoj/zipack
Releases · chilledoj/zipack
HTTP Fileserver
Added ability to use directly as file server (it implements fs.FS
) and therefore be used a static server in an HTTP context via http.FS
.
mgr := NewManager(Options{ZipFileName: "./testdata/sqlfiles.zip"})
mux := http.NewServeMux()
mux.Handle("/", http.FileServer(http.FS(mgr)))