stub

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 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) 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