marketevents

package
v1.11.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

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

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