Documentation ¶
Index ¶
- Variables
- type ArticleDB
- func (a *ArticleDB) ArticleDirectGet(id []byte, head, body bool) *newspolyglot.ArticleObject
- func (a *ArticleDB) ArticleDirectOverview(id []byte) *newspolyglot.ArticleOverview
- func (a *ArticleDB) ArticleDirectStat(id []byte) bool
- func (a *ArticleDB) ArticleGroupGet(group []byte, num int64, head, body bool, id_buf []byte) ([]byte, *newspolyglot.ArticleObject)
- func (a *ArticleDB) ArticleGroupOverview(group []byte, first, last int64, ...)
- func (a *ArticleDB) ArticlePostingCheckPost() (possible bool)
- func (a *ArticleDB) ArticlePostingCheckPostId(id []byte) (wanted bool, possible bool)
- func (a *ArticleDB) ArticlePostingPost(headp *posting.HeadInfo, body []byte, ngs [][]byte, numbs []int64) (rejected bool, failed bool, err error)
- type ArticleGL
- type GroupDB
- func (g *GroupDB) GroupHeadFilterWithAuth(rank postauth.AuthRank, ngs [][]byte) ([][]byte, error)
- func (g *GroupDB) GroupRealtimeList(targ func(group []byte, high, low int64, status byte)) bool
- func (g *GroupDB) GroupRealtimeQuery(group []byte) (number int64, low int64, high int64, ok bool)
- func (g *GroupDB) GroupStaticList(targ func(group []byte, descr []byte)) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var EBufferTooLarge = fmt.Errorf("E-Buffer-Too-Large")
Functions ¶
This section is empty.
Types ¶
type ArticleDB ¶
type ArticleDB struct { groupidx.GroupIndex ArticleGL articlestore.StorageR articlestore.StorageW Policy policies.PostingPolicy }
func (*ArticleDB) ArticleDirectGet ¶
func (*ArticleDB) ArticleDirectOverview ¶
func (*ArticleDB) ArticleDirectStat ¶
func (*ArticleDB) ArticleGroupGet ¶
func (*ArticleDB) ArticleGroupOverview ¶
func (*ArticleDB) ArticlePostingCheckPost ¶
func (*ArticleDB) ArticlePostingCheckPostId ¶
type ArticleGL ¶
func NewArticleGL ¶
func NewArticleGL(w groupidx.GroupIndex) ArticleGL
type GroupDB ¶
type GroupDB struct { groupidx.GroupIndex groupover.GroupOverview }
func (*GroupDB) GroupHeadFilterWithAuth ¶
func (*GroupDB) GroupRealtimeList ¶
func (*GroupDB) GroupRealtimeQuery ¶
Click to show internal directories.
Click to hide internal directories.