bindata

package
v5.3.3-pre4 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: AGPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Asset = func(name string) ([]byte, error) {
		return nil, ErrUnsupported
	}

	AssetDir = func(name string) ([]string, error) {
		return nil, ErrUnsupported
	}

	AssetInfo = func(name string) (os.FileInfo, error) {
		return nil, ErrUnsupported
	}
)
View Source
var ErrUnsupported = errors.New(`unsupported bindata`)
View Source
var PathAliases = ntemplate.NewPathAliases()
View Source
var StaticOptions = &middleware.StaticOptions{
	Root:     "",
	Path:     "/public/assets/",
	Fallback: []string{},
	MaxAge:   bootconfig.HTTPCacheMaxAge,
}

StaticOptions static中间件选项

Functions

func Initialize

func Initialize()

Initialize 初始化

Types

This section is empty.

Jump to

Keyboard shortcuts

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