indexer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 6 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 interface {
	Start() error
	Stop() error
	// contains filtered or unexported methods
}

an interface for indexing data into a database

type PostgresIndexer

type PostgresIndexer struct {
	// contains filtered or unexported fields
}

func NewEventIndexer

func NewEventIndexer(dsn string, recordOut <-chan RecordedEvent) (*PostgresIndexer, error)

func (*PostgresIndexer) AutoMigrate

func (p *PostgresIndexer) AutoMigrate() error

func (*PostgresIndexer) Start

func (p *PostgresIndexer) Start() error

func (*PostgresIndexer) Stop

func (p *PostgresIndexer) Stop() error

type RecordedEvent

type RecordedEvent = recorder.RecordedEvent

Jump to

Keyboard shortcuts

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