processMocks

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlteredAccountsHandlerStub

type AlteredAccountsHandlerStub struct {
	ProcessAccountsCalled func(apiAlteredAccounts []*outport.AlteredAccount) ([]*schema.AccountBalanceUpdate, error)
}

AlteredAccountsHandlerStub -

func (*AlteredAccountsHandlerStub) ProcessAccounts

func (ahs *AlteredAccountsHandlerStub) ProcessAccounts(apiAlteredAccounts []*outport.AlteredAccount) ([]*schema.AccountBalanceUpdate, error)

ProcessAccounts -

type EpochStartInfoHandlerStub

type EpochStartInfoHandlerStub struct {
	ProcessEpochStartInfoCalled func(apiEpochInfo *api.EpochStartInfo) (*schema.EpochStartInfo, error)
}

EpochStartInfoHandlerStub -

func (*EpochStartInfoHandlerStub) ProcessEpochStartInfo

func (esi *EpochStartInfoHandlerStub) ProcessEpochStartInfo(apiEpochInfo *api.EpochStartInfo) (*schema.EpochStartInfo, error)

ProcessEpochStartInfo -

type ShardBlocksHandlerStub

type ShardBlocksHandlerStub struct {
	ProcessShardBlocksCalled func(apiBlocks []*api.NotarizedBlock) ([]*schema.ShardBlocks, error)
}

ShardBlocksHandlerStub -

func (*ShardBlocksHandlerStub) ProcessShardBlocks

func (sbh *ShardBlocksHandlerStub) ProcessShardBlocks(apiBlocks []*api.NotarizedBlock) ([]*schema.ShardBlocks, error)

ProcessShardBlocks -

type TransactionHandlerStub

type TransactionHandlerStub struct {
	ProcessTransactionsCalled func(apiTransactions []*transaction.ApiTransactionResult) ([]*schema.Transaction, error)
}

TransactionHandlerStub -

func (*TransactionHandlerStub) ProcessTransactions

func (ths *TransactionHandlerStub) ProcessTransactions(apiTransactions []*transaction.ApiTransactionResult) ([]*schema.Transaction, error)

ProcessTransactions -

Jump to

Keyboard shortcuts

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