Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupStats ¶
type NNTPAdapter ¶
type NNTPAdapter struct {
// contains filtered or unexported fields
}
func NewNNTPAdapter ¶
func NewNNTPAdapter(p nntp.Provider) *NNTPAdapter
func (*NNTPAdapter) GroupStats ¶
func (a *NNTPAdapter) GroupStats(ctx context.Context, group string) (GroupStats, error)
func (*NNTPAdapter) ID ¶
func (a *NNTPAdapter) ID() string
func (*NNTPAdapter) XOver ¶
func (a *NNTPAdapter) XOver(ctx context.Context, group string, from, to int64) ([]OverviewHeader, error)
type OverviewHeader ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) RunBackfillOnce ¶
backfill mode walks backward from the most recent known boundary.
func (*Service) RunLatestOnce ¶
latest mode prioritizes the head of the group and continues forward.
Click to show internal directories.
Click to hide internal directories.