Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crawler ¶
type Crawler struct {
Config *CrawlerConfig
Parser *parser.Parser
Mutex *sync.Mutex
// contains filtered or unexported fields
}
func (*Crawler) LaunchWarm ¶
func (*Crawler) UrlsFromSitemap ¶
type CrawlerConfig ¶
type Urlset ¶
type Urlset struct {
XMLName xml.Name `xml:"urlset"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
Image string `xml:"image,attr"`
URL []struct {
Text string `xml:",chardata"`
Loc string `xml:"loc"`
Changefreq string `xml:"changefreq"`
Priority string `xml:"priority"`
Lastmod string `xml:"lastmod"`
Image []struct {
Text string `xml:",chardata"`
Loc string `xml:"loc"`
Caption string `xml:"caption"`
Title string `xml:"title"`
} `xml:"image"`
} `xml:"url"`
}
Click to show internal directories.
Click to hide internal directories.