Documentation ¶
Index ¶
- type FileSystemAssetFactory
- type Option
- func AppendFileNames(fileNames ...string) Option
- func AssetFinder(finder assetFinder) Option
- func Context(ctx context.Context) Option
- func ContextValue(key, value interface{}) Option
- func Data(data interface{}) Option
- func Dir(pth string) Option
- func DirectoryIndexDisabled() Option
- func DirectoryIndexEnabled() Option
- func FS(fs assetfsapi.Interface) Option
- func FileNames(fileNames ...string) Option
- func FuncMap(funcMap ...map[string]interface{}) Option
- func Request(req *http.Request) Option
- func Status(value int) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemAssetFactory ¶
func (FileSystemAssetFactory) Factory ¶
func (this FileSystemAssetFactory) Factory(name string) (exec http_render.Asset, err error)
type Option ¶
type Option = http_render.Option
func AppendFileNames ¶
func AssetFinder ¶
func AssetFinder(finder assetFinder) Option
func ContextValue ¶
func ContextValue(key, value interface{}) Option
func DirectoryIndexDisabled ¶
func DirectoryIndexDisabled() Option
func DirectoryIndexEnabled ¶
func DirectoryIndexEnabled() Option
func FS ¶
func FS(fs assetfsapi.Interface) Option
Click to show internal directories.
Click to hide internal directories.