Versions in this module Expand all Collapse all v0 v0.9.1 Aug 17, 2016 v0.9.0 Jul 19, 2016 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 + PathScope string + Root http.FileSystem + Template *template.Template + Variables interface{} + type FileInfo struct + IsDir 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) BreadcrumbMap() map[string]string