mockup

package
v0.0.0-...-060dca9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EUnimplemented = errors.New("EUnimplemented")

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	grouphead.GroupHeadDB
}

Turns a grouphead.GroupHeadDB into a groupidx.GroupIndex!

func (Wrapper) ArticleGroupMove

func (Wrapper) ArticleGroupMove(group []byte, i int64, backward bool, id_buf []byte) (ni int64, id []byte, ok bool)

func (Wrapper) ArticleGroupStat

func (Wrapper) ArticleGroupStat(group []byte, num int64, id_buf []byte) ([]byte, bool)

func (Wrapper) AssignArticleToGroup

func (Wrapper) AssignArticleToGroup(group []byte, num, exp uint64, id []byte) error

func (Wrapper) AssignArticleToGroups

func (Wrapper) AssignArticleToGroups(groups [][]byte, nums []int64, exp uint64, id []byte) error

func (Wrapper) GroupRealtimeQuery

func (Wrapper) GroupRealtimeQuery(group []byte) (number int64, low int64, high int64, ok bool)

func (Wrapper) ListArticleGroupRaw

func (Wrapper) ListArticleGroupRaw(group []byte, first, last int64, targ func(int64, []byte))

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL