indexer

package
v0.0.0-...-e7aca54 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indexer

type Indexer struct {
	Consumer queue.Consumer
	// contains filtered or unexported fields
}

func NewIndexer

func NewIndexer(consumer queue.Consumer, db *model.DB) *Indexer

func (*Indexer) Start

func (i *Indexer) Start() error

Start will kick off the indexer to start listening to the queue and persisting them in the database

func (*Indexer) Stop

func (i *Indexer) Stop(err error)

Jump to

Keyboard shortcuts

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