Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobHandler ¶
type JobHandler struct {
// contains filtered or unexported fields
}
func NewJobHandler ¶
func NewJobHandler(providerCacher ProviderCacher) *JobHandler
func (*JobHandler) Handle ¶
func (j *JobHandler) Handle(ctx context.Context, job ProviderCachingJob) error
type ProviderCacher ¶
type ProviderCacher interface {
CacheProviderForIndexRecords(ctx context.Context, provider model.ProviderResult, index blobindex.ShardedDagIndexView) (written uint64, err error)
}
func NewSimpleProviderCacher ¶
func NewSimpleProviderCacher(providerStore types.ProviderStore) ProviderCacher
type ProviderCachingJob ¶
type ProviderCachingJob struct { Provider model.ProviderResult Index blobindex.ShardedDagIndexView }
Click to show internal directories.
Click to hide internal directories.