Versions in this module Expand all Collapse all v0 v0.1.0 Aug 3, 2021 Changes in this version + var ErrTraversal = errors.New("traversal iteration failed") + type Interface interface + CreatePin func(context.Context, swarm.Address, bool) error + DeletePin func(context.Context, swarm.Address) error + HasPin func(swarm.Address) (bool, error) + Pins func() ([]swarm.Address, error) + type Service struct + func NewService(pinStorage storage.Storer, rhStorage storage.StateStorer, ...) *Service + func (s *Service) CreatePin(ctx context.Context, ref swarm.Address, traverse bool) error + func (s *Service) DeletePin(ctx context.Context, ref swarm.Address) error + func (s *Service) HasPin(ref swarm.Address) (bool, error) + func (s *Service) Pins() ([]swarm.Address, error)