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 PrependBackendAssetsDir ¶
func PrependBackendAssetsDir(assetsDir string)
PrependBackendAssetsDir 往前插入后台素材文件夹
func PrependFrontendAssetsDir ¶
func PrependFrontendAssetsDir(assetsDir string)
PrependFrontendAssetsDir 往前插入前台素材文件夹
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.