stub

package
v2.0.0-rc0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package stub is a helper for testing indexation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StubEngine

type StubEngine struct{}

func (*StubEngine) ClearIndex

func (s *StubEngine) ClearIndex(ctx context.Context) error

func (*StubEngine) Close

func (s *StubEngine) Close() error

func (*StubEngine) DeleteNode

func (s *StubEngine) DeleteNode(context.Context, *tree.Node) error

func (*StubEngine) IndexNode

func (s *StubEngine) IndexNode(context.Context, *tree.Node, bool, map[string]struct{}) error

func (*StubEngine) SearchNodes

func (s *StubEngine) SearchNodes(c context.Context, queryObject *tree.Query, from int32, size int32, resultChan chan *tree.Node, doneChan chan bool) error

Jump to

Keyboard shortcuts

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