Versions in this module Expand all Collapse all v0 v0.3.0 Apr 8, 2019 Changes in this version + const EngineKey + type MetaData interface + ContentType func() string + Location func() string + Status func() int + type Template struct + RequestHandler func(ctx *gin.Context, funcs template.FuncMap) MetaData + func New(log loggers.Contextual, fs TemplateService) *Template + func (tmpl *Template) Middleware() gin.HandlerFunc + func (tmpl Template) HTML(ctx *gin.Context, uri string) + func (tmpl Template) Route(prefix string, r *gin.Engine) + type TemplateService interface + PageNames func(hide bool) []string + Render func(w io.Writer, funcs template.FuncMap, data apitpl.MetaData, ...) (err error) + RenderContent func(name string, funcs template.FuncMap, data apitpl.MetaData) *bytes.Buffer Other modules containing this package github.com/apisite/apitpl