Documentation ¶
Index ¶
- func DataTransferLogger(event datatransfer.Event, state datatransfer.ChannelState)
- func ReadyLogger(module string) func(error)
- func RetrievalClientLogger(event retrievalmarket.ClientEvent, deal retrievalmarket.ClientDealState)
- func RetrievalProviderLogger(event retrievalmarket.ProviderEvent, deal retrievalmarket.ProviderDealState)
- func StorageClientLogger(event storagemarket.ClientEvent, deal storagemarket.ClientDeal)
- func StorageProviderLogger(event storagemarket.ProviderEvent, deal storagemarket.MinerDeal)
- type RetrievalEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataTransferLogger ¶ added in v1.2.2
func DataTransferLogger(event datatransfer.Event, state datatransfer.ChannelState)
DataTransferLogger logs events from the data transfer module
func ReadyLogger ¶ added in v0.8.1
ReadyLogger returns a function to log the results of module initialization
func RetrievalClientLogger ¶
func RetrievalClientLogger(event retrievalmarket.ClientEvent, deal retrievalmarket.ClientDealState)
RetrievalClientLogger logs events from the retrieval client
func RetrievalProviderLogger ¶
func RetrievalProviderLogger(event retrievalmarket.ProviderEvent, deal retrievalmarket.ProviderDealState)
RetrievalProviderLogger logs events from the retrieval provider
func StorageClientLogger ¶
func StorageClientLogger(event storagemarket.ClientEvent, deal storagemarket.ClientDeal)
StorageClientLogger logs events from the storage client
func StorageProviderLogger ¶
func StorageProviderLogger(event storagemarket.ProviderEvent, deal storagemarket.MinerDeal)
StorageProviderLogger logs events from the storage provider
Types ¶
type RetrievalEvent ¶
type RetrievalEvent struct { Event retrievalmarket.ClientEvent Status retrievalmarket.DealStatus BytesReceived uint64 FundsSpent abi.TokenAmount Err string }
Click to show internal directories.
Click to hide internal directories.