test_init

package
v0.0.0-...-89602ce Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartNewTestIndexer

func StartNewTestIndexer(t *testing.T, idx indexer.Indexer)

StartNewTestIndexer starts a new indexing service which forwards calls to the passed indexer.

func StartTestService

func StartTestService(t *testing.T)

StartTestService instantiates a service backed by an in-memory storage.

func StartTestServiceInternal

func StartTestServiceInternal(t *testing.T, dbName, dbDriver string) (reindex.Reindexer, reindex.JobQueue)

StartTestServiceInternal instantiates a test DB-backed service, returning the derived reindexer and job queue for internal usage. Supported drivers include: postgres.

Types

This section is empty.

Jump to

Keyboard shortcuts

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