providers

package
v0.7.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL