Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sitemap ¶
type Sitemap struct {
// contains filtered or unexported fields
}
func GetSitemap ¶
Sitemap crawls a start URL for all links and assets and builds a sitemap with pages and assets per crawled link. Links are restricted to the same domain but assets are not since they are likely to be served by a CDN.
func (*Sitemap) PrettyPrint ¶
func (s *Sitemap) PrettyPrint()
A convenience method to pretty-print a sitemap.
Click to show internal directories.
Click to hide internal directories.