Versions in this module Expand all Collapse all v0 v0.3.5 Jan 15, 2023 Changes in this version + var DefaultIsPageFunc = func(r *http.Request) bool + var DefaultPageTemplateSource = ... + var DefaultStaticData = make(map[string]interface{}, 4) + var DefaultTemplateDataFunc = func(r *http.Request) interface{} + func FilteredFileServer(pattern *regexp.Regexp, fs http.FileSystem) http.Handler + type PageHandler struct + Template *template.Template + TemplateDataFunc func(r *http.Request) interface{} + func (h *PageHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type SimpleHandler struct + Dir string + DisableBuildCache bool + DisableTimestampPreservation bool + EnableBuildAndServe bool + EnableGenerate bool + IsPage func(r *http.Request) bool + MainWasmPath string + PageHandler http.Handler + ParserGoPkgOpts *gen.ParserGoPkgOpts + StaticHandler http.Handler + WasmExecJsPath string + func New(dir string, dev bool) *SimpleHandler + func (h *SimpleHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)