Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorPosts ¶
AuthorPosts represents a count of posts created by a user.
func (*AuthorPosts) String ¶
func (a *AuthorPosts) String() string
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(client reddit.ListingFetcher, writer io.Writer) *Service
NewService instantiates a Post service responsible for updating and reporting statistics.
func (*Service) UpdateTopNAuthors ¶
UpdateTopNAuthors fetches all posts in a subreddit to determine the top N most active posters.
Click to show internal directories.
Click to hide internal directories.