Documentation ¶
Index ¶
- Variables
- func File(fs FileSystems, configs ...Config) func(c echo.Context) error
- type Config
- type FileSystems
- func (f FileSystems) Glob(pattern string) (matches []string, err error)
- func (f FileSystems) IsEmpty() bool
- func (f FileSystems) Open(name string) (file fs.File, err error)
- func (f FileSystems) ReadDir(name string) (dirs []fs.DirEntry, err error)
- func (f FileSystems) ReadFile(name string) (content []byte, err error)
- func (f *FileSystems) Register(fileSystem fs.FS)
- func (f FileSystems) Size() int
- func (f FileSystems) Stat(name string) (fi fs.FileInfo, err error)
- func (f FileSystems) Sub(name string) (sub fs.FS, err error)
- func (f FileSystems) WalkDir(name string, fn fs.WalkDirFunc) (err error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type FileSystems ¶
func NewFileSystems ¶
func NewFileSystems() FileSystems
func (FileSystems) IsEmpty ¶
func (f FileSystems) IsEmpty() bool
func (FileSystems) ReadDir ¶
func (f FileSystems) ReadDir(name string) (dirs []fs.DirEntry, err error)
func (FileSystems) ReadFile ¶
func (f FileSystems) ReadFile(name string) (content []byte, err error)
func (*FileSystems) Register ¶
func (f *FileSystems) Register(fileSystem fs.FS)
func (FileSystems) Size ¶
func (f FileSystems) Size() int
func (FileSystems) WalkDir ¶
func (f FileSystems) WalkDir(name string, fn fs.WalkDirFunc) (err error)
Click to show internal directories.
Click to hide internal directories.