bindata

package
v1.10.4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 6 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, maxAge ...time.Duration) 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