Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailToLoad = apperrors.System(nil, "fail to load sources", "SOURCES:FAIL_TO_LOAD")
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection []scraper.SourceDefinition
func Load ¶
func Load(ctx context.Context, opt LoadOptions) (Collection, error)
func (Collection) Names ¶
func (c Collection) Names() []string
func (Collection) OnlyStorieSuported ¶
func (c Collection) OnlyStorieSuported() Collection
type LoadOptions ¶
Click to show internal directories.
Click to hide internal directories.