Documentation ¶
Overview ¶
Package store defines interfaces for types that handle storage of web page metadata, along with definitions of a few common errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type URLDataStore ¶
type URLDataStore interface { fetch.URLFetcher Database() *database.DBHandle Save(*resource.WebPage) (uint64, error) Delete(*nurl.URL) (bool, error) }
This interface is the contract for storing and retrieving WebPage resources. It add Save() and Delete() methods to the fetch.URLFetcher interface.
Click to show internal directories.
Click to hide internal directories.