Documentation
¶
Index ¶
- func Dedupe(names [][]byte) [][]byte
- type Caps
- func (a *Caps) CheckPost() (possible bool)
- func (a *Caps) CheckPostId(id []byte) (wanted bool, possible bool)
- func (a *Caps) CursorMoveGroup(g *fastnntp.Group, i int64, backward bool, id_buf []byte) (ni int64, id []byte, ok bool)
- func (a *Caps) GetArticle(ar *fastnntp.Article, head, body bool) func(w *fastnntp.DotWriter)
- func (a *Caps) GetGroup(g *fastnntp.Group) bool
- func (a *Caps) ListGroup(g *fastnntp.Group, w *fastnntp.DotWriter, first, last int64)
- func (a *Caps) ListGroups(wm *fastnntp.WildMat, ila fastnntp.IListActive) bool
- func (a *Caps) PerformPost(id []byte, r *fastnntp.DotReader) (rejected bool, failed bool)
- func (a *Caps) StatArticle(ar *fastnntp.Article) bool
- func (a *Caps) WriteOverview(ar *fastnntp.ArticleRange) func(w fastnntp.IOverview)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Caps ¶
type Caps struct { Stamper posting.Stamper GroupHeadDB newspolyglot.GroupHeadDB GroupHeadCache newspolyglot.GroupHeadCache ArticlePostingDB newspolyglot.ArticlePostingDB ArticleDirectDB newspolyglot.ArticleDirectDB ArticleGroupDB newspolyglot.ArticleGroupDB GroupRealtimeDB newspolyglot.GroupRealtimeDB GroupStaticDB newspolyglot.GroupStaticDB }
func (*Caps) CursorMoveGroup ¶
func (*Caps) GetArticle ¶
func (*Caps) ListGroups ¶
func (*Caps) PerformPost ¶
func (*Caps) WriteOverview ¶
func (a *Caps) WriteOverview(ar *fastnntp.ArticleRange) func(w fastnntp.IOverview)
Click to show internal directories.
Click to hide internal directories.