Documentation
¶
Index ¶
- Variables
- func NewAcceptanceStore() (acceptancestore.AcceptanceStore, error)
- func NewAggregatorDatastore() datastore.Datastore
- func NewAllocationStore() (allocationstore.AllocationStore, error)
- func NewBlobStore() blobstore.Blobstore
- func NewClaimStore() (claimstore.ClaimStore, error)
- func NewKeyStore() (keystore.KeyStore, error)
- func NewPDPStore() (blobstore.PDPStore, error)
- func NewPublisherStore() store.FullStore
- func NewReceiptStore() (receiptstore.ReceiptStore, error)
- func NewRetrievalJournal(lc fx.Lifecycle) (retrievaljournal.Journal, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module("memory-store", fx.Provide( fx.Annotate( NewAggregatorDatastore, fx.ResultTags(`name:"aggregator_datastore"`), ), fx.Annotate( NewPublisherStore, fx.As(fx.Self()), fx.As(new(store.PublisherStore)), fx.As(new(store.EncodeableStore)), ), NewAllocationStore, NewAcceptanceStore, fx.Annotate( NewBlobStore, fx.As(fx.Self()), fx.As(new(blobstore.BlobGetter)), ), NewClaimStore, NewReceiptStore, NewRetrievalJournal, NewKeyStore, NewPDPStore, ), )
Functions ¶
func NewAcceptanceStore ¶ added in v0.0.18
func NewAcceptanceStore() (acceptancestore.AcceptanceStore, error)
func NewAggregatorDatastore ¶ added in v0.0.13
func NewAllocationStore ¶
func NewAllocationStore() (allocationstore.AllocationStore, error)
func NewBlobStore ¶
func NewClaimStore ¶
func NewClaimStore() (claimstore.ClaimStore, error)
func NewKeyStore ¶ added in v0.0.13
func NewPDPStore ¶ added in v0.0.13
func NewPublisherStore ¶
func NewReceiptStore ¶
func NewReceiptStore() (receiptstore.ReceiptStore, error)
func NewRetrievalJournal ¶ added in v0.0.15
func NewRetrievalJournal(lc fx.Lifecycle) (retrievaljournal.Journal, error)
TODO need an in-memory impl of the retrieval journal...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.