package
Version:
v0.0.0-...-a3971e5
Opens a new window with list of versions in this module.
Published: Feb 13, 2024
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
StoreSpider tries to load a spider from the db
type Author struct {
Name string `xml:"name"`
}
type Entry struct {
ID string `xml:"id"`
Title string `xml:"title"`
Updated time.Time `xml:"updated"`
Content string `xml:"content"`
Links []Link `xml:"link"`
}
type Feed struct {
XMLName xml.Name `xml:"feed"`
XMLNS string `xml:"xmlns,attr"`
ID string `xml:"id"`
Title string `xml:"title"`
Links []Link `xml:"link"`
Updated time.Time `xml:"updated"`
Author Author `xml:"author"`
Entries []Entry `xml:"entry"`
}
type Link struct {
Href string `xml:"href,attr"`
Rel string `xml:"rel,attr,omitempty"`
Type string `xml:"type,attr,omitempty"`
}
type PageJSON struct {
Page string `json:"page"`
Title string `json:"title"`
StableVersion string `json:"stable_version"`
Homepage string `json:"homepage"`
WikipediaURL string `json:"wikipedia_url"`
}
PageJSON is returned for ?format=json
Source Files
¶
Click to show internal directories.
Click to hide internal directories.