neo4jinserter

package
v0.0.0-...-ae3587a Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inserter

type Inserter struct {
	*worker.Worker
	// contains filtered or unexported fields
}

Inserter represents the scraper containing all clients it uses

func New

func New(neo4jConfig *utils.Neo4jConfig, userQReader *kf.Reader, inserterFunc InserterFunc) *Inserter

New returns an initilized scraper

type InserterFunc

type InserterFunc func(*changestream.ChangeMessage, neo4j.Session) error

InserterFunc is responsible to unmashal to the needed Data from the change Message and inserts it into neo4j

Jump to

Keyboard shortcuts

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