marketevents

package
v0.9.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 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 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