Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RedirectHandler ¶
func RedirectHandler(path string) func(w http.ResponseWriter, r *http.Request)
func RedirectHandlerFunc ¶
func RedirectHandlerFunc(f func(w http.ResponseWriter, r *http.Request) string) func(w http.ResponseWriter, r *http.Request)
func RootFileHandler ¶
func RootFileHandler(box *packr.Box, path string) func(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.