Documentation ¶
Index ¶
- type Articledb
- func (a *Articledb) AdmAddGroup(group, descr []byte) error
- func (a *Articledb) AdmGroupChangeState(group []byte, state byte) error
- 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) (id []byte, article *newspolyglot.ArticleObject)
- func (a *Articledb) ArticleGroupList(group []byte, first, last int64, targ func(int64))
- func (a *Articledb) ArticleGroupMove(group []byte, i int64, backward bool, id_buf []byte) (ni int64, id []byte, ok bool)
- func (a *Articledb) ArticleGroupOverview(group []byte, first, last int64, ...)
- func (a *Articledb) ArticleGroupStat(group []byte, num int64, id_buf []byte) (id []byte, dostat bool)
- 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)
- func (a *Articledb) GroupHeadFilter(groups [][]byte) ([][]byte, error)
- func (a *Articledb) GroupHeadInsert(ngs [][]byte, buf []int64) ([]int64, error)
- func (a *Articledb) GroupHeadRevert(ngs [][]byte, numbs []int64) error
- func (a *Articledb) GroupRealtimeList(targ func(group []byte, high, low int64, status byte)) (ok bool)
- func (a *Articledb) GroupRealtimeQuery(group []byte) (number int64, low int64, high int64, ok bool)
- func (a *Articledb) GroupStaticList(targ func(group []byte, descr []byte)) (ok bool)
- func (a *Articledb) Initialize()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Articledb ¶
func (*Articledb) AdmAddGroup ¶
func (*Articledb) AdmGroupChangeState ¶
func (*Articledb) ArticleDirectGet ¶
func (*Articledb) ArticleDirectOverview ¶
func (*Articledb) ArticleDirectStat ¶
func (*Articledb) ArticleGroupGet ¶
func (*Articledb) ArticleGroupList ¶
func (*Articledb) ArticleGroupMove ¶
func (*Articledb) ArticleGroupOverview ¶
func (*Articledb) ArticleGroupStat ¶
func (*Articledb) ArticlePostingCheckPost ¶
func (*Articledb) ArticlePostingCheckPostId ¶
func (*Articledb) ArticlePostingPost ¶
func (*Articledb) GroupHeadFilter ¶
func (*Articledb) GroupHeadInsert ¶
func (*Articledb) GroupHeadRevert ¶
func (*Articledb) GroupRealtimeList ¶
func (*Articledb) GroupRealtimeQuery ¶
func (*Articledb) GroupStaticList ¶
func (*Articledb) Initialize ¶
func (a *Articledb) Initialize()
Click to show internal directories.
Click to hide internal directories.