Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBookmarkAuditInventory ¶ added in v0.7.0
func NewBookmarkAuditInventory(opts BookmarkOptions) audit.UpstreamInventory
NewBookmarkAuditInventory constructs a read-only full X bookmark inventory. Browser cookie access is deferred until Inventory is explicitly invoked.
Types ¶
type BookmarkOptions ¶
type BookmarkStats ¶
type BookmarkStats struct {
PagesFetched int `json:"pages_fetched"`
Processed int `json:"processed"`
Created int `json:"created"`
Updated int `json:"updated"`
Unchanged int `json:"unchanged"`
Rendered int `json:"rendered"`
StalePages int `json:"stale_pages"`
StoppedReason string `json:"stopped_reason"`
}
func RunBookmarks ¶
func RunBookmarks(ctx context.Context, cfg config.Config, st *store.Store, opts BookmarkOptions) (BookmarkStats, error)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) FetchBookmarksPage ¶
type Stats ¶
type Stats struct {
Candidates int `json:"candidates"`
Requested int `json:"requested"`
Hydrated int `json:"hydrated"`
Missing int `json:"missing"`
APIErrors int `json:"api_errors"`
Rendered int `json:"rendered"`
Unchanged int `json:"unchanged"`
MediaCandidates int `json:"media_candidates"`
MediaRequested int `json:"media_requested"`
MediaDownloaded int `json:"media_downloaded"`
MediaGone int `json:"media_gone"`
MediaErrors int `json:"media_errors"`
MediaBlocked int `json:"media_blocked"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.