github.com/jyd519/zipfs@v1.2.1/zipfs.go (about)

     1  // Package zipfs provides an implementation of the net/http.FileSystem
     2  // interface based on the contents of a ZIP file. It also provides
     3  // the FileServer function, which returns a net/http.Handler that
     4  // serves static files from a ZIP file. This HTTP handler exploits
     5  // the fact that most files are stored in a ZIP file using the
     6  // deflate compression algorithm, and that most HTTP user agents will
     7  // accept deflate as a content-encoding. When possible the HTTP
     8  // handler will send the compressed file contents back to the
     9  // user agent without having to decompress the ZIP file contents.
    10  package zipfs