processor

package
v0.0.0-...-0de434f Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventProcessor

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

func NewEventProcessor

func NewEventProcessor(repo repository.Repository, programID solana.PublicKey) *EventProcessor

func (*EventProcessor) GetEventStats

func (p *EventProcessor) GetEventStats(ctx context.Context, from, to time.Time) (map[models.EventType]int64, error)

func (*EventProcessor) ProcessEvent

func (p *EventProcessor) ProcessEvent(ctx context.Context, signature string, slot uint64, blockTime time.Time, eventType models.EventType, eventData interface{}) error

Jump to

Keyboard shortcuts

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