markets

package
v1.23.1-libp2p-0.27.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2023 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetrievalClientJournaler

func RetrievalClientJournaler(j journal.Journal, evtType journal.EventType) func(event retrievalmarket.ClientEvent, deal retrievalmarket.ClientDealState)

RetrievalClientJournaler records journal events from the retrieval client.

func RetrievalProviderJournaler

func RetrievalProviderJournaler(j journal.Journal, evtType journal.EventType) func(event retrievalmarket.ProviderEvent, deal retrievalmarket.ProviderDealState)

RetrievalProviderJournaler records journal events from the retrieval provider.

func StorageClientJournaler

func StorageClientJournaler(j journal.Journal, evtType journal.EventType) func(event storagemarket.ClientEvent, deal storagemarket.ClientDeal)

StorageClientJournaler records journal events from the storage client.

func StorageProviderJournaler

func StorageProviderJournaler(j journal.Journal, evtType journal.EventType) func(event storagemarket.ProviderEvent, deal storagemarket.MinerDeal)

StorageProviderJournaler records journal events from the storage provider.

Types

type RetrievalClientEvt

type RetrievalClientEvt struct {
	Event string
	Deal  retrievalmarket.ClientDealState
}

type RetrievalProviderEvt

type RetrievalProviderEvt struct {
	Event string
	Deal  retrievalmarket.ProviderDealState
}

type StorageClientEvt

type StorageClientEvt struct {
	Event string
	Deal  storagemarket.ClientDeal
}

type StorageProviderEvt

type StorageProviderEvt struct {
	Event string
	Deal  storagemarket.MinerDeal
}

Directories

Path Synopsis
mocks
Package mock_dagstore is a generated GoMock package.
Package mock_dagstore is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL