marketevents

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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