Documentation ¶
Overview ¶
Package history lets you fetch history data from all common browsers databases. The New.. methods return a new HistoryGrabber that implements the Grabber interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChromiumGrabber ¶
type ChromiumGrabber struct { HistoryGrabber // contains filtered or unexported fields }
ChromiumGrabber is a grabber for chromium history entries.
func NewChromiumGrabber ¶
func NewChromiumGrabber(profile browserutils.ProfileDir, date time.Time) (*ChromiumGrabber, error)
NewChromiumGrabber returns a new History grabber that grabs history from the given date. If you specify date to be nil, it will grab all the History from the db.
func (*ChromiumGrabber) Close ¶
func (c *ChromiumGrabber) Close() error
Close closes the connected history database.
func (*ChromiumGrabber) Err ¶
func (c *ChromiumGrabber) Err() error
Err returns the error, if any that was encountered during iteration.
func (*ChromiumGrabber) Scan ¶
func (c *ChromiumGrabber) Scan(dest interface{}) error
Scan copies the columns in the current row into the History pointed at by dest. The dest var must be of type History or else the method will fail.
type HistoryGrabber ¶
HistoryGrabber extends the Grabber interface, for bookmarks specific grabbing.