Documentation
¶
Index ¶
- type BatchProvidingSystemdeprecated
- type BatchedProviderStatsdeprecated
- type Optiondeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchProvidingSystem
deprecated
type BatchProvidingSystem struct {
// contains filtered or unexported fields
}
Deprecated: use github.com/ipfs/boxo/provider/batched.BatchProvidingSystem
func (*BatchProvidingSystem) Close ¶
func (s *BatchProvidingSystem) Close() error
func (*BatchProvidingSystem) Provide ¶
func (s *BatchProvidingSystem) Provide(cid cid.Cid) error
func (*BatchProvidingSystem) Reprovide ¶
func (s *BatchProvidingSystem) Reprovide(ctx context.Context) error
func (*BatchProvidingSystem) Run ¶
func (s *BatchProvidingSystem) Run()
func (*BatchProvidingSystem) Stat ¶
func (s *BatchProvidingSystem) Stat(ctx context.Context) (BatchedProviderStats, error)
Stat returns various stats about this provider system
type BatchedProviderStats
deprecated
type Option
deprecated
type Option func(system *BatchProvidingSystem) error
Option defines the functional option type that can be used to configure BatchProvidingSystem instances
Deprecated: use github.com/ipfs/boxo/provider/batched.Option
func KeyProvider
deprecated
func KeyProvider(fn simple.KeyChanFunc) Option
Deprecated: use github.com/ipfs/boxo/provider/batched.KeyProvider
func ReproviderInterval
deprecated
Click to show internal directories.
Click to hide internal directories.