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 }
type Post ¶
func PostsFromStorePosts ¶
func PostsFromStorePosts(storePosts []store.CandidatePost) []Post
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.