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: "", Fallback: []string{}, MaxAge: bootconfig.HTTPCacheMaxAge, }
StaticOptions static中间件选项
Functions ¶
func NewStaticAssetFS ¶
func NewStaticAssetFS(prefix string, afs *assetfs.AssetFS) http.FileSystem
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.