Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Error404FilePath string HeaderMap map[string][]string GzipEnabled bool HeaderMapEnabled bool TemplateMap map[string]string RewriteDomains map[string]string TemplateMapEnabled bool VueJSHistoryMode bool ServeFolder string }
Handler holds the information needed to create handlers
func (*Handler) ServeHandler ¶
ServeHandler ... serves a folder
func (*Handler) ServeStandardRedirect ¶
func (h *Handler) ServeStandardRedirect(from string, to string) http.HandlerFunc
ServeStandardRedirect ... handles a standard path redirect
Click to show internal directories.
Click to hide internal directories.