Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SourceType ¶
type SourceType string
SourceType represents the type of data source
const ( // SourceTypeRPC represents RPC data source SourceTypeRPC SourceType = "rpc" // SourceTypeArchive represents archive data source (e.g., S3) SourceTypeArchive SourceType = "archive" )
func (SourceType) String ¶
func (s SourceType) String() string
String returns the string representation of the source type
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker handles block data fetching from RPC and optional archive
func NewWorker ¶
func NewWorker(rpc rpc.IRPCClient) *Worker
func NewWorkerWithArchive ¶
func NewWorkerWithArchive(rpc rpc.IRPCClient, source source.ISource) *Worker
NewWorkerWithArchive creates a new Worker with optional archive support
Click to show internal directories.
Click to hide internal directories.