marketevents

package
v1.7.3-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0, MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataTransferLogger

func DataTransferLogger(event datatransfer.Event, state datatransfer.ChannelState)

DataTransferLogger logs events from the data transfer module

func ReadyLogger

func ReadyLogger(module string) func(error)

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
}

Jump to

Keyboard shortcuts

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