Versions in this module Expand all Collapse all v1 v1.0.2 Jan 31, 2023 Changes in this version + var ErrWrongSelectorLen = errors.New("wrong event selector length") + var ErrWrongType = errors.New("wrong request type") + type Callbacks struct + ForEachEvent func(start []byte, onEvent func(key hash.Event, eventB rlp.RawValue) bool) + type Config basestreamseeder.Config + func DefaultConfig(scale cachescale.Func) Config + type Peer struct + ID string + Misbehaviour func(error) + SendChunk func(dagstream.Response, hash.Events) error + type Seeder struct + func New(cfg Config, callbacks Callbacks) *Seeder + func (s *Seeder) NotifyRequestReceived(peer Peer, r dagstream.Request) (err error, peerErr error)