Versions in this module Expand all Collapse all v0 v0.11.0 Nov 16, 2018 Changes in this version + type Browse struct + Configs []Config + IgnoreIndexes bool + Next httpserver.Handler + func (b Browse) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) + func (b Browse) ServeListing(w http.ResponseWriter, r *http.Request, requestedFilepath http.File, ...) (int, error) + type Config struct + Fs staticfiles.FileServer + PathScope string + Template *template.Template + Variables interface{} + type Crumb struct + Link string + Text string + type FileInfo struct + IsDir bool + IsSymlink bool + ModTime time.Time + Mode os.FileMode + Name string + Size int64 + URL string + func (fi FileInfo) HumanModTime(format string) string + func (fi FileInfo) HumanSize() string + type Listing struct + CanGoUp bool + Items []FileInfo + ItemsLimitedTo int + Name string + NumDirs int + NumFiles int + Order string + Path string + Sort string + User interface{} + func (l Listing) Breadcrumbs() []Crumb