Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateFunc ¶
type Meta ¶
type Meta struct { // ID is the rkey that is used to identify the Feed in generation requests. ID string // DisplayName is the short name of the feed used in the BlueSky client. DisplayName string // Description is a long description of the feed used in the BlueSky client. Description string // Priority controls where the feed shows up on FurryList UIs. // Higher priority wins. Negative values indicate the feed should be hidden // in the UI. Priority int32 }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func ServiceWithDefaultFeeds ¶
ServiceWithDefaultFeeds instantiates a registry with all the standard bksy-furry-feed feeds. TODO: This really doesn't belong here, ideally, these feeds would be defined elsewhere to make this more pluggable. A refactor idea for the future :)
func (*Service) GetFeedPosts ¶
func (*Service) Register ¶
func (s *Service) Register(m Meta, generateFunc GenerateFunc)
Click to show internal directories.
Click to hide internal directories.