bindata

package
v0.0.0-...-67d0eb9 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: AGPL-3.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// StaticOptions 前台static中间件选项
	StaticOptions = &middleware.StaticOptions{
		Root:   "",
		Path:   "",
		MaxAge: bootconfig.HTTPCacheMaxAge,
	}
	NgingDir = `../nging`
	WebxDir  = `../webx`
)

Functions

func AppendBackendAssetsDir

func AppendBackendAssetsDir(assetsDir string)

AppendBackendAssetsDir 追加后台素材文件夹

func AppendFrontendAssetsDir

func AppendFrontendAssetsDir(assetsDir string)

AppendFrontendAssetsDir 追加前台素材文件夹

func Initialize

func Initialize(callbacks ...func())

Initialize 后台和前台模板等素材初始化配置

func PrependBackendAssetsDir

func PrependBackendAssetsDir(assetsDir string)

PrependBackendAssetsDir 往前插入后台素材文件夹

func PrependFrontendAssetsDir

func PrependFrontendAssetsDir(assetsDir string)

PrependFrontendAssetsDir 往前插入前台素材文件夹

Types

This section is empty.

Jump to

Keyboard shortcuts

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