Versions in this module Expand all Collapse all v0 v0.0.1 Apr 28, 2022 Changes in this version + var ErrInvalidCollecter = errors.New("invalid collecter") + var ErrInvalidHandler = errors.New("invalid handler") + type Handler func(ticker.Price) + type Indexer struct + func NewIndexer(clctr collecter.Collecter, handle Handler, interval time.Duration) (*Indexer, error) + func (i *Indexer) Err() error + func (i *Indexer) Start(ctx context.Context) + func (i *Indexer) Stop(ctx context.Context) error