Versions in this module Expand all Collapse all v0 v0.1.0 Aug 3, 2021 Changes in this version + var ErrRateLimitExceeded = errors.New("rate limit exceeded") + type Service struct + func New(streamer p2p.Streamer, addressbook addressbook.GetPutter, networkID uint64, ...) *Service + func (s *Service) BroadcastPeers(ctx context.Context, addressee swarm.Address, peers ...swarm.Address) error + func (s *Service) Metrics() []prometheus.Collector + func (s *Service) Protocol() p2p.ProtocolSpec + func (s *Service) SetAddPeersHandler(h func(addr ...swarm.Address))