Documentation ¶
Index ¶
- type StorageLocationProviderImpl
- func (s *StorageLocationProviderImpl) All() ([]storage.SignedStorageLocation, error)
- func (s *StorageLocationProviderImpl) Downvote(uri storage.SignedStorageLocation) error
- func (s *StorageLocationProviderImpl) Next() (storage.SignedStorageLocation, error)
- func (s *StorageLocationProviderImpl) Start() error
- func (s *StorageLocationProviderImpl) Upvote(uri storage.SignedStorageLocation) error
- type StorageLocationProviderParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageLocationProviderImpl ¶
type StorageLocationProviderImpl struct {
// contains filtered or unexported fields
}
func NewStorageLocationProvider ¶
func NewStorageLocationProvider(params StorageLocationProviderParams) *StorageLocationProviderImpl
func (*StorageLocationProviderImpl) All ¶
func (s *StorageLocationProviderImpl) All() ([]storage.SignedStorageLocation, error)
func (*StorageLocationProviderImpl) Downvote ¶
func (s *StorageLocationProviderImpl) Downvote(uri storage.SignedStorageLocation) error
func (*StorageLocationProviderImpl) Next ¶
func (s *StorageLocationProviderImpl) Next() (storage.SignedStorageLocation, error)
func (*StorageLocationProviderImpl) Start ¶
func (s *StorageLocationProviderImpl) Start() error
func (*StorageLocationProviderImpl) Upvote ¶
func (s *StorageLocationProviderImpl) Upvote(uri storage.SignedStorageLocation) error
type StorageLocationProviderParams ¶
type StorageLocationProviderParams struct { Services service.Services Hash *encoding.Multihash LocationTypes []types.StorageLocationType ExcludeNodes []*encoding.NodeId service.ServiceParams }
Click to show internal directories.
Click to hide internal directories.