Versions in this module Expand all Collapse all v0 v0.1.0 Jan 9, 2024 Changes in this version + type Content interface + Exists func(path string) bool + Get func(path string) (*FileInfo, io.ReadCloser) + type FileInfo struct + ContentHash bool + ContentType string + Hash string + Header http.Header + type ServeFs struct + AddPrefix string + AllowFrame bool + Content Content + HtmlNotFoundPath string + UpdateHeader func(http.Header, ServeInfo) + func (c *ServeFs) ServeHTTP(w http.ResponseWriter, r *http.Request) + type ServeInfo struct + CacheForever bool + IfNoneMatch bool + Is404 bool + IsHead bool + IsHtml bool