Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Asset = func(name string) ([]byte, error) { return nil, fmt.Errorf("Asset %s not found", name) } AssetDir = func(name string) ([]string, error) { return nil, fmt.Errorf("Asset %s not found", name) } AssetInfo = func(name string) (os.FileInfo, error) { return nil, fmt.Errorf("AssetInfo %s not found", name) } )
View Source
var StaticOptions = &middleware.StaticOptions{ Root: "", Path: "/public/assets/", Fallback: []string{}, }
StaticOptions static中间件选项
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.