Documentation
¶
Index ¶
- Variables
- type DB
- func (db *DB) ArticleGroupMove(group []byte, i int64, backward bool, id_buf []byte) (ni int64, id []byte, ok bool)
- func (db *DB) ArticleGroupStat(group []byte, num int64, id_buf []byte) (id []byte, ok bool)
- func (db *DB) AssignArticleToGroup(group []byte, num, exp uint64, id []byte) error
- func (db *DB) AssignArticleToGroups(groups [][]byte, nums []int64, exp uint64, id []byte) error
- func (db *DB) GroupHeadInsert(groups [][]byte, buf []int64) (nums []int64, err error)
- func (db *DB) GroupHeadRevert(groups [][]byte, nums []int64) error
- func (db *DB) GroupRealtimeQuery(group []byte) (number int64, low int64, high int64, ok bool)
- func (db *DB) ListArticleGroupRaw(group []byte, first, last int64, targ func(int64, []byte))
- type Tx
- func (t Tx) ArticleGroupMove(group []byte, i int64, backward bool, id_buf []byte) (ni int64, id []byte, ok bool)
- func (t Tx) ArticleGroupStat(group []byte, num int64, id_buf []byte) ([]byte, bool)
- func (t Tx) AssignArticleToGroup(group []byte, num, exp uint64, id []byte) error
- func (t Tx) AssignArticleToGroups(groups [][]byte, nums []int64, exp uint64, id []byte) error
- func (t Tx) GroupHeadInsert(groups [][]byte, buf []int64) ([]int64, error)
- func (t Tx) GroupHeadRevert(groups [][]byte, nums []int64) error
- func (t Tx) GroupRealtimeQuery(group []byte) (number int64, low int64, high int64, ok bool)
- func (t Tx) ListArticleGroupRaw(group []byte, first, last int64, targ func(int64, []byte))
Constants ¶
This section is empty.
Variables ¶
View Source
var EMissingTable = errors.New("Missing Table")
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) ArticleGroupMove ¶
func (*DB) ArticleGroupStat ¶
func (*DB) AssignArticleToGroup ¶
Newly introduced.
func (*DB) AssignArticleToGroups ¶
func (*DB) GroupHeadInsert ¶
known from "github.com/maxymania/fastnntp-polyglot"
func (*DB) GroupRealtimeQuery ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
func (Tx) ArticleGroupMove ¶
func (Tx) ArticleGroupStat ¶
func (Tx) AssignArticleToGroup ¶
func (Tx) AssignArticleToGroups ¶
func (Tx) GroupHeadInsert ¶
func (Tx) GroupRealtimeQuery ¶
Click to show internal directories.
Click to hide internal directories.