Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentInfo ¶
type FileProvider ¶
type FileProvider struct { OnChanged provider.ChangeFunc // contains filtered or unexported fields }
func NewProvider ¶
func NewProvider(opts Options) *FileProvider
func (*FileProvider) Add ¶
func (p *FileProvider) Add(path string)
func (*FileProvider) Open ¶
func (p *FileProvider) Open() ([]*ContentInfo, error)
func (*FileProvider) Reset ¶
func (p *FileProvider) Reset()
func (*FileProvider) SetOnChanged ¶
func (p *FileProvider) SetOnChanged(changeFunc provider.ChangeFunc)
func (*FileProvider) Watch ¶
func (p *FileProvider) Watch() error
Click to show internal directories.
Click to hide internal directories.