Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateRenderer ¶
type TemplateRenderer struct {
// contains filtered or unexported fields
}
TemplateRenderer describes a handlers for rendering layouts/pages
func NewTemplateRenderer ¶
func NewTemplateRenderer(debugMode bool) *TemplateRenderer
NewTemplateRenderer creates a new struct
func (*TemplateRenderer) LoadTemplates ¶
func (t *TemplateRenderer) LoadTemplates(debugMode bool)
type ViewState ¶
type ViewState struct { IsError bool LogEntries logfiles.ParsedLogFile LogFile string Message string Title string }
ViewState is used to pass information along to pages during render
func NewViewState ¶
NewViewState returns a view state struct intialized with a title
Click to show internal directories.
Click to hide internal directories.