Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandlerFunc ¶ added in v0.3.0
func NewHandlerFunc(path string, opts *Options) (http.HandlerFunc, error)
NewHandlerFunc returns an http.HandlerFunc that does very simple pages serving from the specified path. The pageData function can be used to return template data.
Types ¶
Click to show internal directories.
Click to hide internal directories.