Documentation ¶
Index ¶
- type API
- type Alternate
- type Board
- type Category
- type Collection
- type CollectionCreate
- type CollectionFeedCreate
- type CollectionFeedCreates
- type CollectionFeedDelete
- type CollectionFeedDeletes
- type Collections
- type Content
- type Entries
- type Entry
- type Feed
- type Feeds
- type Filter
- type FilterPart
- type GlobalResource
- type Login
- type Marker
- type MarkersReads
- type MarkersReadsFeed
- type MarkersReadsOptions
- type Origin
- type PaymentProviderID
- type PaymentSubscriptionID
- type Priorities
- type Priority
- type PriorityCreate
- type PriorityCreates
- type PriorityRefreshError
- type PriorityUpdate
- type Profile
- type Resource
- type StreamContents
- type StreamIDs
- type StreamOptions
- type Subscription
- type Subscriptions
- type Tag
- type Tags
- type UnreadCount
- type Visual
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { CollectionsCreate(context.Context, *CollectionCreate) (Collections, error) CollectionsFeedsPut(context.Context, string, CollectionFeedCreate) (Feeds, error) CollectionsFeedsMPut(context.Context, string, CollectionFeedCreates) (Feeds, error) CollectionsFeedsDelete(context.Context, string, string) error CollectionsFeedsMDelete(context.Context, string, CollectionFeedDeletes) error CollectionsGet(context.Context, string) (Collections, error) CollectionsList(context.Context) (Collections, error) EntriesGet(context.Context, string) (Entries, error) FeedsGet(context.Context, string) (*Feed, error) FeedsMGet(context.Context, []string) (Feeds, error) MarkersCounts(context.Context) (*Marker, error) MarkersReads(context.Context, *MarkersReadsOptions) (*MarkersReads, error) ProfileGet(context.Context) (*Profile, error) PrioritiesList(context.Context, bool) (Priorities, error) PrioritiesDelete(context.Context, string, bool) error PrioritiesPut(context.Context, PriorityCreate) (Priorities, error) PrioritiesUpdate(context.Context, PriorityUpdate) (Priorities, error) StreamsContents(context.Context, string, *StreamOptions) (*StreamContents, error) StreamsIDs(context.Context, string, *StreamOptions) (*StreamIDs, error) SubscriptionsGet(context.Context) (Subscriptions, error) TagsList(context.Context) (Tags, error) }
type Collection ¶
type Collection struct { Customizable bool `json:"customizable"` Description string `json:"description"` Enterprise bool `json:"enterprise"` Feeds []Feed `json:"feeds"` ID string `json:"id"` Label string `json:"label"` NumFeeds float64 `json:"numFeeds"` }
func (Collection) String ¶
func (a Collection) String() string
type CollectionCreate ¶
type CollectionCreate struct { Description string `json:"description,omitempty"` Feeds []CollectionFeedCreate `json:"feeds"` ID string `json:"id"` Label string `json:"label"` }
type CollectionFeedCreate ¶
type CollectionFeedCreates ¶ added in v0.7.0
type CollectionFeedCreates []CollectionFeedCreate
type CollectionFeedDelete ¶
type CollectionFeedDelete struct {
ID string `json:"id"`
}
type CollectionFeedDeletes ¶
type CollectionFeedDeletes []CollectionFeedDelete
type Collections ¶
type Collections []Collection
func (Collections) String ¶
func (a Collections) String() string
type Entry ¶
type Entry struct { Alternate []Alternate `json:"alternate"` Author string `json:"author"` Categories []Category `json:"categories"` Content *Content `json:"content"` Crawled int64 `json:"crawled"` Engagement int64 `json:"engagement"` EngagementRate float64 `json:"engagementRate"` Fingerprint string `json:"fingerprint"` ID string `json:"id"` Keywords []string `json:"keywords"` Origin *Origin `json:"origin"` OriginID string `json:"originId"` Published int64 `json:"published"` Title string `json:"title"` Unread bool `json:"unread"` Updated int64 `json:"updated"` Visual *Visual `json:"visual"` }
type Feed ¶
type Feed struct { ContentType string `json:"contentType"` Description string `json:"description"` EstimatedEngagement float64 `json:"estimatedEngagement"` FeedID string `json:"feedId"` IconURL string `json:"iconUrl"` ID string `json:"id"` Language string `json:"language"` Partial bool `json:"partial"` Subscribers float64 `json:"subscribers"` Title string `json:"title"` Topics []string `json:"topics"` Updated float64 `json:"updated"` Velocity float64 `json:"velocity"` VisualURL string `json:"visualUrl"` Website string `json:"website"` }
type FilterPart ¶ added in v0.8.0
type GlobalResource ¶
type GlobalResource int
const ( GlobalCategoryAll GlobalResource = 1 << iota GlobalCategoryUncategorized GlobalCategoryMust GlobalTagRead GlobalTagSaved GlobalTagAll GlobalTagAnnotated GlobalPriorityAll )
func (GlobalResource) Format ¶ added in v0.8.0
func (r GlobalResource) Format() string
func (GlobalResource) ID ¶ added in v0.8.0
func (r GlobalResource) ID(userID string) string
type Marker ¶
type Marker struct { UnreadCounts []UnreadCount `json:"unreadcounts"` Updated int64 `json:"updated"` }
type MarkersReads ¶
type MarkersReads struct { Entries []string `json:"entries"` Feeds []MarkersReadsFeed `json:"feeds"` Updated int64 `json:"updated"` }
func (MarkersReads) String ¶
func (a MarkersReads) String() string
type MarkersReadsFeed ¶
type MarkersReadsOptions ¶
type MarkersReadsOptions struct {
NewerThan int64 `url:"newerThan,omitempty"`
}
type PaymentProviderID ¶
type PaymentProviderID struct {
Paypal string `json:"Paypal"`
}
type PaymentSubscriptionID ¶
type PaymentSubscriptionID struct {
Paypal string `json:"Paypal"`
}
type Priorities ¶ added in v0.8.0
type Priorities []Priority
func (Priorities) String ¶ added in v0.8.0
func (a Priorities) String() string
type Priority ¶ added in v0.8.0
type Priority struct { Active bool `json:"active"` ActiveUntil float64 `json:"activeUntil"` Created float64 `json:"created"` ID string `json:"id"` Label string `json:"label"` LastEntryMatch float64 `json:"lastEntryMatch"` LastLikeBoardRequestDate float64 `json:"lastLikeBoardRequestDate"` LastStatsRefreshDate float64 `json:"lastStatsRefreshDate"` LastTrainingDate float64 `json:"lastTrainingDate"` LastUpdated float64 `json:"lastUpdated"` LatestRefreshErrors []PriorityRefreshError `json:"latestRefreshErrors"` Layers []Filter `json:"layers"` NextRun float64 `json:"nextRun"` NumEntries float64 `json:"numEntries"` NumEntriesMatching float64 `json:"numEntriesMatching"` NumEntriesProcessed float64 `json:"numEntriesProcessed"` StreamIDs []string `json:"streamIds"` TrainingScore float64 `json:"trainingScore"` TrainingStatus string `json:"trainingStatus"` }
type PriorityCreate ¶ added in v0.8.0
type PriorityCreates ¶ added in v0.8.0
type PriorityCreates []PriorityCreate
type PriorityRefreshError ¶ added in v0.8.0
type PriorityUpdate ¶ added in v0.8.0
type Profile ¶
type Profile struct { Client string `json:"client"` DropboxConnected bool `json:"dropboxConnected"` Email string `json:"email"` EvernoteConnected bool `json:"evernoteConnected"` FacebookConnected bool `json:"facebookConnected"` FamilyName string `json:"familyName"` FullName string `json:"fullName"` Gender string `json:"gender"` GivenName string `json:"givenName"` Google string `json:"google"` ID string `json:"id"` Locale string `json:"locale"` Logins []Login `json:"logins"` PaymentProviderID *PaymentProviderID `json:"paymentProviderId"` PaymentSubscriptionID *PaymentSubscriptionID `json:"paymentSubscriptionId"` Picture string `json:"picture"` PocketConnected bool `json:"pocketConnected"` Product string `json:"product"` ProductExpiration int64 `json:"productExpiration"` SubscriptionPaymentProvider string `json:"subscriptionPaymentProvider"` SubscriptionStatus string `json:"subscriptionStatus"` TwitterConnected bool `json:"twitterConnected"` UpgradeDate int64 `json:"upgradeDate"` Wave string `json:"wave"` WindowsLiveConnected bool `json:"windowsLiveConnected"` WordPressConnected bool `json:"wordPressConnected"` }
type StreamContents ¶
type StreamContents struct { Continuation string `json:"continuation"` ID string `json:"id"` Items []Entry `json:"items"` Updated int64 `json:"updated"` }
func (StreamContents) String ¶
func (a StreamContents) String() string
type StreamIDs ¶
type StreamOptions ¶
type Subscription ¶
type Subscription struct { Categories []Category `json:"categories"` ContentType string `json:"contentType"` IconURL string `json:"iconUrl"` ID string `json:"id"` Partial bool `json:"partial"` Subscribers float64 `json:"subscribers"` Title string `json:"title"` Topics []string `json:"topics"` Updated float64 `json:"updated"` Velocity float64 `json:"velocity"` VisualURL string `json:"visualUrl"` Website string `json:"website"` }
func (Subscription) String ¶
func (a Subscription) String() string
type Subscriptions ¶
type Subscriptions []Subscription
func (Subscriptions) String ¶
func (a Subscriptions) String() string
type Tag ¶
type UnreadCount ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.