Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
Info contains the information of a page
func (Info) BreadcrumbMap ¶
BreadcrumbMap returns p.Path where every element is a map of URLs and path segment names.
func (Info) PreviousLink ¶
PreviousLink returns the path of the previous folder
type Page ¶
Page contains the informations and functions needed to show the page
func (Page) PrintAsHTML ¶
PrintAsHTML formats the page in HTML and executes the template
func (Page) PrintAsJSON ¶
func (p Page) PrintAsJSON(w http.ResponseWriter) (int, error)
PrintAsJSON prints the current page infromation in JSON
Click to show internal directories.
Click to hide internal directories.