Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFileProviders ¶
type DefaultFileProviders struct { Localization FileProvider Static FileProvider Templates FileProvider }
func (DefaultFileProviders) GetLocalization ¶
func (this DefaultFileProviders) GetLocalization() FileProvider
func (DefaultFileProviders) GetStatic ¶
func (this DefaultFileProviders) GetStatic() FileProvider
func (DefaultFileProviders) GetTemplates ¶
func (this DefaultFileProviders) GetTemplates() FileProvider
type FileProvider ¶
type FileProvider interface { fs.ReadFileFS fs.ReadDirFS }
func FileProviderStrippingPrefix ¶
func FileProviderStrippingPrefix(fp FileProvider, prefix string) FileProvider
func NoopFileProvider ¶
func NoopFileProvider() FileProvider
type FileProviders ¶
type FileProviders interface { GetLocalization() FileProvider GetStatic() FileProvider GetTemplates() FileProvider }
Click to show internal directories.
Click to hide internal directories.