Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Title string `xml:"title"` ID string `xml:"id"` Link []Link `xml:"link"` Published TimeStr `xml:"published"` Updated TimeStr `xml:"updated"` Author *Person `xml:"author"` Summary *Text `xml:"summary"` Content *Text `xml:"content"` }
Entry represents a feed entry.
type Feed ¶
type Feed struct { XMLName xml.Name `xml:"http://www.w3.org/2005/Atom feed"` Title string `xml:"title"` ID string `xml:"id"` StreamID string `xml:"streamId"` HeadOfStream bool `xml:"headOfStream"` Link []Link `xml:"link"` Updated TimeStr `xml:"updated"` Author *Person `xml:"author"` Entry []*Entry `xml:"entry"` }
Feed represents an atom feed page from the eventstore.
func (*Feed) GetEventURLs ¶
GetEventURLs extracts a slice of event urls from the feed object.
func (*Feed) PrettyPrint ¶
PrettyPrint returns an indented string representation of the feed.
Click to show internal directories.
Click to hide internal directories.