Versions in this module Expand all Collapse all v0 v0.2.3 Jun 20, 2021 Changes in this version + type Interface interface + RetrieveChunk func(ctx context.Context, addr swarm.Address) (chunk swarm.Chunk, err error) + type Service struct + func New(addr swarm.Address, storer storage.Storer, streamer p2p.Streamer, ...) *Service + func (s *Service) Metrics() []prometheus.Collector + func (s *Service) Protocol() p2p.ProtocolSpec + func (s *Service) RetrieveChunk(ctx context.Context, addr swarm.Address) (swarm.Chunk, error)