Documentation
¶
Overview ¶
Package workers collects url graph from provided API and stores it into provided storage
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface {
GetURLToProcess(ctx context.Context) (string, error)
SaveParsedArticle(ctx context.Context, article model.ParsedArticle) error
AddPendingURLs(ctx context.Context, urls ...string) error
ResetInProgressURLs(ctx context.Context) error
SetFailed(ctx context.Context, url string, err error) error
}
Click to show internal directories.
Click to hide internal directories.