Versions in this module Expand all Collapse all v0 v0.1.0 Oct 9, 2018 Changes in this version + func GetDefaultTemplate() *template.Template + func SetTemplate(t *template.Template, name, filename string) error + func Setup(c *caddy.Controller) error + type CachedFileInfo struct + Fi os.FileInfo + Path string + type Config struct + Extensions map[string]struct{} + PathScope string + Template *template.Template + TemplateFiles map[string]*CachedFileInfo + func (c *Config) Stencil(title string, r io.Reader, ctx httpserver.Context) ([]byte, error) + type Data struct + Doc map[string]interface{} + Files []FileInfo + func (d Data) Include(filename string, args ...interface{}) (string, error) + type FileInfo struct + type Stencil struct + BufPool *sync.Pool + Configs []*Config + FileSys http.FileSystem + Next httpserver.Handler + Root string + func (st Stencil) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)