Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Browser ¶
type Browser interface { Name() string IsAvailable() (bool, error) Profiles() ([]string, error) Bookmarks(profile string) ([]BookMark, error) SearchEngineQueries(profile string, options SearchEngineOptions) ([]SearchEngineQuery, error) ListVisitedPagesFromSearchEngineQuery(profile string, options ListVisitedPagesFromSearchEngineQueryOptions) ([]VisitedPageFromSearchEngineQuery, error) ListVisitedPagesFromSourceRepos(profile string, options ListVisitedPagesFromSourceReposOptions) ([]VisitedPageFromSourceRepos, error) }
type ListVisitedPagesFromSearchEngineQueryOptions ¶ added in v0.0.6
type ListVisitedPagesFromSourceReposOptions ¶ added in v0.0.12
type ListVisitedPagesFromSourceReposOptions struct { Type SourceRepoPageType StartTime time.Time EndTime time.Time }
type SearchEngineOptions ¶ added in v0.0.6
type SearchEngineQuery ¶ added in v0.0.6
type SourceRepoPageType ¶ added in v0.0.12
type SourceRepoPageType string
const ( SourceRepoPageTypeUnset SourceRepoPageType = "" SourceRepoPageTypeProviderHome SourceRepoPageType = "provider home" SourceRepoPageTypeOrganizationHome SourceRepoPageType = "organization home" SourceRepoPageTypeRepositoryHome SourceRepoPageType = "repository home" SourceRepoPageTypeIssuesList SourceRepoPageType = "issues list" SourceRepoPageTypePullRequestsList SourceRepoPageType = "pull requests list" SourceRepoPageTypeDiscussionsList SourceRepoPageType = "discussions list" SourceRepoPageTypeIssue SourceRepoPageType = "issue" SourceRepoPageTypePullRequest SourceRepoPageType = "pull request" SourceRepoPageTypeDiscussion SourceRepoPageType = "discussion" SourceRepoPageTypeOtherDetails SourceRepoPageType = "other details" )
type VisitedPageFromSearchEngineQuery ¶ added in v0.0.6
type VisitedPageFromSourceRepos ¶ added in v0.0.12
type VisitedPageFromSourceRepos struct { Times int `yaml:"times"` Provider string `yaml:"provider"` // github, ... URL string `yaml:"url"` Organization string `yaml:"organization"` Repository string `yaml:"repository"` Type SourceRepoPageType `yaml:"type"` // provider home, issue, pull request, ... Number *string `yaml:"number,omitempty"` // Depending on type: number of issue/PR/etc, not defined for home }
Click to show internal directories.
Click to hide internal directories.