Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupIndex ¶
type GroupIndex interface { // known from "github.com/maxymania/fastnntp-polyglot" GroupHeadInsert(groups [][]byte, buf []int64) ([]int64, error) GroupHeadRevert(groups [][]byte, nums []int64) error ArticleGroupStat(group []byte, num int64, id_buf []byte) ([]byte, bool) ArticleGroupMove(group []byte, i int64, backward bool, id_buf []byte) (ni int64, id []byte, ok bool) GroupRealtimeQuery(group []byte) (number int64, low int64, high int64, ok bool) // Newly introduced. AssignArticleToGroup(group []byte, num, exp uint64, id []byte) error AssignArticleToGroups(groups [][]byte, nums []int64, exp uint64, id []byte) error /* Bulk-version*/ ListArticleGroupRaw(group []byte, first, last int64, targ func(int64, []byte)) }
Click to show internal directories.
Click to hide internal directories.