Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("retrieval", fx.Provide( fx.Annotate( NewRetrievalService, fx.As(new(ucan.BlobRetrievalService)), fx.As(new(ucan.SpaceContentRetrievalService)), ), ), )
Functions ¶
func NewRetrievalService ¶
func NewRetrievalService(params RetrievalServiceParams) *retrieval.RetrievalService
Types ¶
type RetrievalServiceParams ¶
type RetrievalServiceParams struct {
fx.In
ID principal.Signer
Allocations allocationstore.AllocationStore
Blobs blobstore.BlobGetter
API types.PieceReaderAPI `optional:"true"`
}
RetrievalServiceParams contains all dependencies for the retrieval service
Click to show internal directories.
Click to hide internal directories.