etlserver

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ETLService

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

ETLService is the go-openaudio ETL wrapper that composes the etl.Indexer with LocationService and implements the ETL ConnectRPC query handlers. Use this when running a full openaudio node with explorer.

func NewETLService

func NewETLService(indexer *etl.Indexer, locationDB *location.LocationService, logger *zap.Logger) *ETLService

NewETLService creates an ETL service with indexer and location support.

func (*ETLService) ChainID

func (s *ETLService) ChainID() string

ChainID returns the chain ID from the core service.

func (*ETLService) GetBlockPubsub

func (s *ETLService) GetBlockPubsub() *etl.BlockPubsub

GetBlockPubsub returns the block pubsub instance.

func (*ETLService) GetDB

func (s *ETLService) GetDB() *db.Queries

GetDB returns the ETL database queries.

func (*ETLService) GetLocationDB

func (s *ETLService) GetLocationDB() *location.LocationService

GetLocationDB returns the location service instance.

func (*ETLService) GetPlayPubsub

func (s *ETLService) GetPlayPubsub() *etl.PlayPubsub

GetPlayPubsub returns the play pubsub instance.

func (*ETLService) Indexer

func (s *ETLService) Indexer() *etl.Indexer

Indexer returns the underlying indexer for direct access.

func (*ETLService) Run

func (s *ETLService) Run() error

Run runs the indexer. Blocks until done or error.

func (*ETLService) SetRunDownMigrations

func (s *ETLService) SetRunDownMigrations(v bool)

SetRunDownMigrations delegates to the indexer.

Jump to

Keyboard shortcuts

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