Versions in this module Expand all Collapse all v0 v0.26.28 Mar 22, 2022 Changes in this version + var HomeRoute = "/" + type ErrorHandler interface + Error func(e error) + type HomeViewModel struct + Ctx *fasthttp.RequestCtx + Flash *cbweb.Flash + NavItems []cbweb.NavItem + func (t *HomeViewModel) GetMainTemplate() string + func (t *HomeViewModel) GetMasterViewModel() cbweb.DefaultMasterViewModel + func (t *HomeViewModel) GetTemplates() []string + type Logger interface + DebugF func(category string, message string, args ...interface{}) + InfoF func(category string, message string, args ...interface{}) + type Module struct + Common *cbwebcommon.Module + ErrorHandler ErrorHandler + Logger Logger + NavItems func(ctx *fasthttp.RequestCtx) []cbweb.NavItem + func (m *Module) GetErrorHandler() ErrorHandler + func (m *Module) GetGlobalTemplates() map[string][]byte + func (m *Module) GetLogger() Logger + func (m *Module) Home(ctx *fasthttp.RequestCtx) + func (m *Module) SetGlobalTemplates(templates map[string][]byte) + func (m *Module) SetRoutes(router *router.Router)