Documentation
¶
Index ¶
Constants ¶
View Source
const TemplateCacheDuration = 24 * time.Hour
Variables ¶
View Source
var TemplateFS embed.FS
Functions ¶
func GetTemplateContent ¶
func GetTemplateFiles ¶
func LoadTemplates ¶
Types ¶
type TemplateCache ¶
type TemplateCache struct {
// contains filtered or unexported fields
}
func GetTemplateCache ¶
func GetTemplateCache() *TemplateCache
func (*TemplateCache) Clear ¶
func (tc *TemplateCache) Clear()
Click to show internal directories.
Click to hide internal directories.