package
1.0.1
Repository: https://github.com/ipfs/go-ipfs-provider.git
Documentation: pkg.go.dev

# Functions

MaxWorkers is an option to set the max workers on a provider.
NewBlockstoreProvider returns key provider using bstore.AllKeysChan.
NewPinnedProvider returns provider supplying pinned keys.
NewProvider creates a provider that announces blocks to the network using a content router.
NewReprovider creates new Reprovider instance.
WithTimeout is an option to set a timeout on a provider.

# Variables

ErrClosed is returned by Trigger when operating on a closed reprovider.

# Structs

Provider announces blocks to the network.
Reprovider reannounces blocks to the network.

# Interfaces

Pinner interface defines how the simple.Reprovider wants to interact with a Pinning service.

# Type aliases

KeyChanFunc is function streaming CIDs to pass to content routing.
Option defines the functional option type that can be used to configure provider instances.