Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPDir ¶
HTTPDir serves the files in the given afero.Fs or uses the given Handler to handles missing files.
func NewLayeredFilesystem ¶
NewLayeredFilesystem returns a "chrooted" and layered filesystem abstraction.
Types ¶
type TemplateLoader ¶
type TemplateLoader struct {
// contains filtered or unexported fields
}
func NewTemplateLoader ¶
func NewTemplateLoader(fs afero.Fs) *TemplateLoader
func (*TemplateLoader) Load ¶
func (l *TemplateLoader) Load(srv *html.TemplateService) error
Click to show internal directories.
Click to hide internal directories.