betestsetup

package
v1.0.10-0...-7349ede Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockExplorerTestSetUp

type BlockExplorerTestSetUp struct {
	ExporterClient exporter.RecordExporterClient
	DB             *gorm.DB
	PulseClient    *clients.TestPulseClient
	// contains filtered or unexported fields
}

used in tests to quickly initialize block-explorer processes

func NewBlockExplorer

func NewBlockExplorer(exporterClient exporter.RecordExporterClient, db *gorm.DB) BlockExplorerTestSetUp

func (*BlockExplorerTestSetUp) Controller

func (b *BlockExplorerTestSetUp) Controller() *controller.Controller

func (*BlockExplorerTestSetUp) Extractor

func (*BlockExplorerTestSetUp) Processor

func (b *BlockExplorerTestSetUp) Processor() *processor.Processor

func (*BlockExplorerTestSetUp) Start

func (b *BlockExplorerTestSetUp) Start() error

start Extractor, Transformer, Controller and Processor

func (*BlockExplorerTestSetUp) Stop

func (b *BlockExplorerTestSetUp) Stop() error

Stop Transformer and Processor

func (*BlockExplorerTestSetUp) Storage

func (b *BlockExplorerTestSetUp) Storage() *storage.Storage

func (*BlockExplorerTestSetUp) Transformer

Jump to

Keyboard shortcuts

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