Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderDirectoryListing ¶
func RenderDirectoryListing(w http.ResponseWriter, listing DirectoryListing) error
RenderDirectoryListing renders a text/template for directory listings.
Types ¶
type DirectoryEntry ¶
DirectoryEntry is an entry within a directory.
type DirectoryListing ¶
type DirectoryListing struct { Entries []DirectoryEntry Prefixes []string IsTruncated bool }
DirectoryListing is a directory or prefix and all its entries.
Click to show internal directories.
Click to hide internal directories.