bindata

package
v2.5.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTmplManager

func NewTmplManager(fs http.FileSystem) driver.Manager

func Static

func Static(path string, fs http.FileSystem) echo.MiddlewareFunc

Types

type TmplManager

type TmplManager struct {
	*driver.BaseManager
	http.FileSystem
	Prefix string
}

func (*TmplManager) GetTemplate

func (a *TmplManager) GetTemplate(fileName string) ([]byte, error)

Jump to

Keyboard shortcuts

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