indexfile

package
v0.0.0-...-e951c9a Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const TempFileSuffix = ".temp"

Variables

This section is empty.

Functions

func BoltDBToIndexFile

func BoltDBToIndexFile(boltdbFile *bbolt.DB, name string) index.Index

func OpenIndexFile

func OpenIndexFile(path string) (index.Index, error)

func QueryBoltDB

func QueryBoltDB(ctx context.Context, db *bbolt.DB, userID []byte, queries []series_index.Query, callback series_index.QueryPagesCallback) error

Types

type IndexFile

type IndexFile struct {
	// contains filtered or unexported fields
}

func (*IndexFile) Close

func (i *IndexFile) Close() error

func (*IndexFile) GetBoltDB

func (i *IndexFile) GetBoltDB() *bbolt.DB

func (*IndexFile) Name

func (i *IndexFile) Name() string

func (*IndexFile) Path

func (i *IndexFile) Path() string

func (*IndexFile) Reader

func (i *IndexFile) Reader() (io.ReadSeeker, error)

Jump to

Keyboard shortcuts

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