view

package
v0.0.0-...-885c2a5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2015 License: LGPL-2.1 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ViewHtml

type ViewHtml struct {
	sync.Mutex
	io.Closer
	// contains filtered or unexported fields
}

func NewViewHtml

func NewViewHtml(dirPath, suffix, delimsLeft, delimsRight string, funcMap template.FuncMap) *ViewHtml

func (*ViewHtml) Close

func (v *ViewHtml) Close() error

func (*ViewHtml) Render

func (v *ViewHtml) Render(name string, writer io.Writer, model interface{}) (err goweb.WebError)

type ViewJson

type ViewJson struct{}

func (*ViewJson) Render

func (v *ViewJson) Render(resp http.ResponseWriter, model interface{}) goweb.WebError

func (*ViewJson) RenderIndent

func (v *ViewJson) RenderIndent(resp http.ResponseWriter, model interface{}) goweb.WebError

Jump to

Keyboard shortcuts

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