Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrawlerDatabase ¶
type CrawlerDatabase interface { // Insert is a method to insert new page crawled on database. Insert(ctx context.Context, uri string, depth uint, uris []string) error // Find is a method to fetch links crawled from database. Find(ctx context.Context, uri string, depth uint) ([]string, error) }
CrawlerDatabase is a repository to handle with persistence layer.
Click to show internal directories.
Click to hide internal directories.