indexes

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 10 Imported by: 1

Documentation

Overview

Package indexes contains functions to create indexing for 'get(%ref) -> message'. Also contains a utility to open the contact trust graph using the repo and graph packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenGet

func OpenGet(db *badger.DB) (librarian.Index, librarian.SinkIndex)

OpenGet supplies the get(msgRef) -> rootLogSeq idx

Types

type Timestamps added in v0.2.1

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

func NewTimestampSorter added in v0.2.1

func NewTimestampSorter(res *repo.SequenceResolver) *Timestamps

func (*Timestamps) Close added in v0.2.1

func (idx *Timestamps) Close() error

func (*Timestamps) Pour added in v0.2.1

func (idx *Timestamps) Pour(ctx context.Context, swv interface{}) error

func (*Timestamps) QuerySpec added in v0.2.1

func (idx *Timestamps) QuerySpec() margaret.QuerySpec

QuerySpec returns the query spec that queries the next needed messages from the log

Jump to

Keyboard shortcuts

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