newscaps

package
v0.0.0-...-7e6ab84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Fastnntp Caps implementations for (non-remote) newsreading.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleReader

type ArticleReader struct {
	SM  *storage.StorageManager
	OV  storage.OverviewMethod
	HIS storage.HisMethod
	RI  storage.RiMethod
}

func (*ArticleReader) GetArticle

func (ar *ArticleReader) GetArticle(a *fastnntp.Article, head, body bool) func(w *fastnntp.DotWriter)

func (*ArticleReader) StatArticle

func (ar *ArticleReader) StatArticle(a *fastnntp.Article) bool

func (*ArticleReader) WriteOverview

func (ar *ArticleReader) WriteOverview(a *fastnntp.ArticleRange) func(w fastnntp.IOverview)

type GroupReader

type GroupReader struct {
	GM storage.GroupMethod
	OV storage.OverviewMethod
}

func (*GroupReader) CursorMoveGroup

func (gr *GroupReader) CursorMoveGroup(g *fastnntp.Group, i int64, backward bool, id_buf []byte) (ni int64, id []byte, ok bool)

func (*GroupReader) GetGroup

func (gr *GroupReader) GetGroup(g *fastnntp.Group) bool

func (*GroupReader) ListGroup

func (gr *GroupReader) ListGroup(g *fastnntp.Group, w *fastnntp.DotWriter, first, last int64)

func (*GroupReader) ListGroups

func (gr *GroupReader) ListGroups(wm *fastnntp.WildMat, ila fastnntp.IListActive) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL