Documentation ¶
Index ¶
- type BlockExplorerTestSetUp
- func (b *BlockExplorerTestSetUp) Controller() *controller.Controller
- func (b *BlockExplorerTestSetUp) Extractor() *extractor.PlatformExtractor
- func (b *BlockExplorerTestSetUp) Processor() *processor.Processor
- func (b *BlockExplorerTestSetUp) Start() error
- func (b *BlockExplorerTestSetUp) Stop() error
- func (b *BlockExplorerTestSetUp) Storage() *storage.Storage
- func (b *BlockExplorerTestSetUp) Transformer() *transformer.MainNetTransformer
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 (b *BlockExplorerTestSetUp) Extractor() *extractor.PlatformExtractor
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 ¶
func (b *BlockExplorerTestSetUp) Transformer() *transformer.MainNetTransformer
Click to show internal directories.
Click to hide internal directories.