Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelXML ¶
type ChannelXML struct {
Items []ItemXML `xml:"item"`
}
ChannelXML represents the list of items in the RSS feed.
type Client ¶
type Client struct{}
Client implements the cnt.Contenter interface.
type Contenter ¶
type Contenter interface { GetItems(ctx context.Context, address string) ([]ItemXML, error) GetText(ctx context.Context, address string) (*string, error) }
Contenter defines methods for interacting with the root blog content.
type RSSXML ¶
type RSSXML struct {
Channel ChannelXML `xml:"channel"`
}
RSSXML represents the target RSS feed.
Click to show internal directories.
Click to hide internal directories.