Documentation
¶
Index ¶
- type FileSource
- func (s *FileSource) Contexts() []string
- func (bc *FileSource) Find(ctx context.Context, itemContext string) ([]*sdp.Item, error)
- func (bc *FileSource) Get(ctx context.Context, itemContext string, query string) (*sdp.Item, error)
- func (bc *FileSource) Name() string
- func (bc *FileSource) Type() string
- func (s *FileSource) Weight() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSource ¶
type FileSource struct{}
FileSource struct on which all methods are registered
func (*FileSource) Contexts ¶
func (s *FileSource) Contexts() []string
List of contexts that this source is capable of find items for
func (*FileSource) Find ¶
func (bc *FileSource) Find(ctx context.Context, itemContext string) ([]*sdp.Item, error)
Find calls back to the FindFunction to find all items
func (*FileSource) Type ¶
func (bc *FileSource) Type() string
Type is the type of items that this returns
Click to show internal directories.
Click to hide internal directories.