Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WikiLinkExt = &wikiLinkExt{}
Functions ¶
func AllReverseLinks ¶
AllReverseLinks calculates the reverse link map for the whole wiki. The returned map maps page names to a list of pages linking to it. Sets of pages are represented as sorted lists.
func OutgoingLinks ¶
OutgoingLinks returns the outgoing wiki links in a given Markdown input. The outgoing links are a map of page names to true.
func RenderHTML ¶
Types ¶
type PageHandler ¶
type PageHandler struct { MainPage string D *diskv.Diskv // contains filtered or unexported fields }
func (*PageHandler) ServeHTTP ¶
func (h *PageHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.