Documentation ¶
Index ¶
- type AltCount
- type Audio
- type BasicAuth
- type CanonicalCount
- type Chart
- type ChartItem
- type CountItem
- type CountList
- type Crawl
- type ExplorerView
- type ExportHreflang
- type ExportImage
- type ExportLink
- type ExportVideo
- type Hreflang
- type Iframe
- type Image
- type InternalLink
- type Issue
- type IssueCount
- type IssueGroup
- type IssuesGroupView
- type IssuesView
- type Link
- type Message
- type MultipageCallback
- type MultipageIssueReporter
- type PageIssueReporter
- type PageReport
- type PageReportMessage
- type PageReportView
- type Paginator
- type PaginatorView
- type Project
- type ProjectView
- type SchemeCount
- type Script
- type StatusCodeByDepth
- type Style
- type User
- type Video
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CanonicalCount ¶
type Crawl ¶
type Crawl struct { Id int64 ProjectId int64 Crawling bool URL string Start time.Time End time.Time TotalIssues int TotalURLs int IssuesEnd time.Time CriticalIssues int AlertIssues int WarningIssues int BlockedByRobotstxt int // URLs blocked by robots.txt Noindex int // URLS with noindex attribute SitemapExists bool SitemapIsBlocked bool RobotstxtExists bool InternalFollowLinks int InternalNoFollowLinks int ExternalFollowLinks int ExternalNoFollowLinks int SponsoredLinks int UGCLinks int }
type ExplorerView ¶
type ExplorerView struct { ProjectView *ProjectView Term string PaginatorView PaginatorView }
type ExportHreflang ¶
type ExportImage ¶
type ExportLink ¶
type ExportVideo ¶
type InternalLink ¶
type InternalLink struct { PageReport PageReport Link Link }
type IssueCount ¶
type IssueCount struct { CriticalIssues []IssueGroup AlertIssues []IssueGroup WarningIssues []IssueGroup }
type IssueGroup ¶
type IssuesGroupView ¶
type IssuesGroupView struct { ProjectView *ProjectView IssueCount *IssueCount }
type IssuesView ¶
type IssuesView struct { ProjectView *ProjectView Eid string PaginatorView PaginatorView }
type MultipageCallback ¶
type MultipageCallback func(c *Crawl) *MultipageIssueReporter
type MultipageIssueReporter ¶
The MultipageIssueReporter struct contains an int64 stream, which corresponds to the PageReport id, and an error type. Each MultipageIssueReporter will be called and an issue will be created for each PageReport which id is received through the channel.
type PageIssueReporter ¶
type PageIssueReporter struct { Callback func(*PageReport, *html.Node, *http.Header) bool ErrorType int }
The PageIssueReporter struct contains a callback function and an error type. Each PageIssueReporter callback will be called and an issue will be created if it returns true.
type PageReport ¶
type PageReport struct { Id int64 URL string ParsedURL *url.URL RedirectURL string Refresh string StatusCode int ContentType string MediaType string Lang string Title string Description string Robots string Noindex bool Nofollow bool Canonical string H1 string H2 string Links []Link ExternalLinks []Link Words int Hreflangs []Hreflang Size int64 Images []Image Scripts []string Styles []string Iframes []string Audios []string Videos []Video BlockedByRobotstxt bool Crawled bool InSitemap bool InternalLinks []InternalLink Depth int BodyHash string Timeout bool TTFB int }
type PageReportMessage ¶
type PageReportView ¶
type PageReportView struct { PageReport PageReport ErrorTypes []string InLinks []InternalLink Redirects []PageReport Paginator Paginator }
type PaginatorView ¶
type PaginatorView struct { Paginator Paginator PageReports []PageReport }
type ProjectView ¶
type SchemeCount ¶
type StatusCodeByDepth ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.