mocks

package
v0.0.0-...-e0ab326 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthClient

type EthClient struct {
	mock.Mock
}

EthClient is an autogenerated mock type for the EthClient type

func (*EthClient) BlockByNumber

func (_m *EthClient) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*EthClient) SubscribeNewHead

func (_m *EthClient) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error)

SubscribeNewHead provides a mock function with given fields: ctx, ch

func (*EthClient) TransactionReceipt

func (_m *EthClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)

TransactionReceipt provides a mock function with given fields: ctx, txHash

type S3Client

type S3Client struct {
	mock.Mock
}

S3Client is an autogenerated mock type for the S3Client type

func (*S3Client) GetBlock

func (_m *S3Client) GetBlock(blockNumber *big.Int) (string, error)

getBlock provides a mock function with given fields: blockNumber

func (*S3Client) StoreBlock

func (_m *S3Client) StoreBlock(blockNumber *big.Int, data string) error

storeBlock provides a mock function with given fields: blockNumber, data

type SNSClient

type SNSClient struct {
	mock.Mock
}

SNSClient is an autogenerated mock type for the SNSClient type

func (*SNSClient) Publish

func (_m *SNSClient) Publish(data string) error

publish provides a mock function with given fields: data

Jump to

Keyboard shortcuts

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