Documentation
¶
Index ¶
- type DescriptionCacheItem
- type DidResponse
- type Endpoints
- func (ep *Endpoints) AssignUserToFeed(c *gin.Context)
- func (ep *Endpoints) DescribeFeedGenerator(c *gin.Context)
- func (ep *Endpoints) GetFeedMembers(c *gin.Context)
- func (ep *Endpoints) GetFeedSkeleton(c *gin.Context)
- func (ep *Endpoints) GetFeeds(c *gin.Context)
- func (ep *Endpoints) GetWellKnownDID(c *gin.Context)
- func (ep *Endpoints) ProcessUser(feedName string, userDID string)
- func (ep *Endpoints) UnassignUserFromFeed(c *gin.Context)
- type FeedMeta
- type GetFeedsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DescriptionCacheItem ¶
type DescriptionCacheItem struct { Description appbsky.FeedDescribeFeedGenerator_Output ExpiresAt time.Time }
type DidResponse ¶
type Endpoints ¶
type Endpoints struct { FeedGenerator *feedgenerator.FeedGenerator GraphJSONUrl string FeedUsers map[string][]string UniqueSeenUsers *bloom.BloomFilter TopKUsersAndFeeds *gostatix.TopK Store *store.Store DescriptionCache *DescriptionCacheItem DescriptionCacheTTL time.Duration // contains filtered or unexported fields }
func NewEndpoints ¶
func NewEndpoints(feedGenerator *feedgenerator.FeedGenerator, graphJSONUrl string, store *store.Store) (*Endpoints, error)
func (*Endpoints) AssignUserToFeed ¶
func (*Endpoints) DescribeFeedGenerator ¶
func (*Endpoints) GetFeedMembers ¶
func (*Endpoints) GetFeedSkeleton ¶
func (*Endpoints) GetWellKnownDID ¶
func (*Endpoints) ProcessUser ¶
func (*Endpoints) UnassignUserFromFeed ¶
type GetFeedsResponse ¶
Debug endpoints for the Feed Generator Admin Dashboard
Click to show internal directories.
Click to hide internal directories.