Versions in this module Expand all Collapse all v1 v1.1.0 Mar 26, 2020 Changes in this version + func BoolArg(c *caddy.Controller) (bool, error) + func DurationArg(c *caddy.Controller) (time.Duration, error) + func StringArg(c *caddy.Controller) (string, error) + type Browse struct + Client *minio.Client + Config Config + Fs map[string]Directory + Next httpserver.Handler + Template *template.Template + func (b Browse) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) + type Config struct + AllowDownloads bool + Bucket string + Debug bool + Endpoint string + Key string + Refresh time.Duration + Secret string + Secure bool + type Directory struct + Files []File + Folders []Folder + Path string + func (d Directory) Breadcrumbs() []Node + func (d Directory) ReadableName() string + type File struct + Bytes int64 + Date time.Time + Folder string + Name string + func (f File) HumanModTime(format string) string + func (f File) HumanSize() string + type Folder struct + Name string + func (f Folder) ReadableName() string + type Node struct + Link string + ReadableName string