package
Version:
v1.3.3
Opens a new window with list of versions in this module.
Published: Feb 19, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Custom(opts *Options) macaron.Handler
Custom implements the macaron static handler for serving custom assets.
func Static(opts *Options) macaron.Handler
Static implements the macaron static handler for serving assets.
type Options struct {
Directory string
SkipLogging bool
}
Options represents the available options to configure the macaron handler.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.