Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct {
Term string `xml:"term,attr"`
}
Category represents atom category
type Client ¶
Client wrapped *http.Client and some methods for accessing atom feed are added
type Control ¶
type Control struct {
Draft string `xml:"http://www.w3.org/2007/app draft"`
}
Control represents atom control
type Entry ¶
type Entry struct { XMLName xml.Name `xml:"http://www.w3.org/2005/Atom entry"` ID string `xml:"id,omitempty"` Links Links `xml:"link"` Author Author `xml:"author,omitempty"` Title string `xml:"title"` Updated *time.Time `xml:"updated,omitempty"` Published *time.Time `xml:"published,omitempty"` Edited *time.Time `xml:"edited,omitempty"` Content Content `xml:"content"` Category []Category `xml:"category,omitempty"` Control *Control `xml:"http://www.w3.org/2007/app control,omitempty"` CustomURL string `xml:"http://www.hatena.ne.jp/info/xmlns#hatenablog custom-url,omitempty"` }
Entry represents atom entry
type Feed ¶
type Feed struct { Links Links `xml:"link"` Title string `xml:"title"` Subtitle string `xml:"subtitle"` Entries []Entry `xml:"entry"` }
Feed represents atom feed
Click to show internal directories.
Click to hide internal directories.