Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSFileProvider ¶
type FSFileProvider struct {
// contains filtered or unexported fields
}
func NewFSFileProvider ¶
func NewFSFileProvider(roots ...string) *FSFileProvider
func (*FSFileProvider) ListFiles ¶
func (p *FSFileProvider) ListFiles() ([]string, error)
type FileProvider ¶
type InMemoryFileProvider ¶
type InMemoryFileProvider struct {
// contains filtered or unexported fields
}
func NewInMemoryFileProvider ¶
func NewInMemoryFileProvider(files map[string][]byte) *InMemoryFileProvider
func (*InMemoryFileProvider) GetFile ¶
func (p *InMemoryFileProvider) GetFile(file string) ([]byte, error)
func (*InMemoryFileProvider) ListFiles ¶
func (p *InMemoryFileProvider) ListFiles() ([]string, error)
Click to show internal directories.
Click to hide internal directories.