Documentation
¶
Index ¶
Constants ¶
View Source
const ( ChangeFreqAlways = "always" ChangeFreqHourly = "hourly" ChangeFreqDaily = "daily" ChangeFreqWeekly = "weekly" ChangeFreqMonthly = "monthly" ChangeFreqYearly = "yearly" ChangeFreqNever = "never" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator is a service that provides functions for creating sitemap files
type Options ¶
type Options struct { // Filename is base file name for sitemap w/o extension Filename string // Max file size (default 10485760) MaxFileSize int // Max links in one file (default 50000) MaxURLs int // Dir keeps directory name for sitemap files Dir string // BaseURL used for generate sitemap index file BaseURL string }
Options is a struct for specifying configuration options for the sitemap.Generator object.
type SitemapURL ¶
type URL ¶
func (URL) SitemapChangeFreq ¶
func (URL) SitemapLastMod ¶
func (URL) SitemapLoc ¶
func (URL) SitemapPriority ¶
Click to show internal directories.
Click to hide internal directories.