Documentation ¶
Index ¶
- type Assets
- func (a *Assets) GetEchoRenderer() *EchoRenderer
- func (a *Assets) LoadTemplate() (err error)
- func (a *Assets) RenderEcho(w io.Writer, name string, data interface{}, c echo.Context) error
- func (a *Assets) RenderHttp(w http.ResponseWriter, name string, data interface{}) error
- func (a *Assets) RenderScreen(w io.Writer, name string, data interface{}) error
- type EchoRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assets ¶
type Assets struct { Root string StaticDir string TemplateDir string // contains filtered or unexported fields }
func (*Assets) GetEchoRenderer ¶
func (a *Assets) GetEchoRenderer() *EchoRenderer
func (*Assets) LoadTemplate ¶
func (*Assets) RenderEcho ¶
func (*Assets) RenderHttp ¶
func (a *Assets) RenderHttp(w http.ResponseWriter, name string, data interface{}) error
Click to show internal directories.
Click to hide internal directories.