rockpongo2

package module
v0.0.0-...-a7e94d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 3 Imported by: 0

README

pongo2 render for rock

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ViewConfig

type ViewConfig struct {
	ViewDir   string
	Extension string
	Box       *pongo2.TemplateSet
}

type ViewEngine

type ViewEngine struct {
	Config ViewConfig
}

func Default

func Default() *ViewEngine

func New

func New(config ViewConfig) *ViewEngine

func (*ViewEngine) ExecuteWriter

func (r *ViewEngine) ExecuteWriter(writer io.Writer, filename string, bindingData interface{}) error

func (*ViewEngine) Ext

func (e *ViewEngine) Ext() string

func (*ViewEngine) GetViewDir

func (e *ViewEngine) GetViewDir() string

func (*ViewEngine) Name

func (e *ViewEngine) Name() string

func (*ViewEngine) SetViewDir

func (e *ViewEngine) SetViewDir(viewDir string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL