mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) ABCIInfo

func (_m *Client) ABCIInfo() (*core_types.ResultABCIInfo, error)

ABCIInfo provides a mock function with given fields:

func (*Client) ABCIQuery

func (_m *Client) ABCIQuery(path string, data common.HexBytes) (*core_types.ResultABCIQuery, error)

ABCIQuery provides a mock function with given fields: path, data

func (*Client) ABCIQueryWithOptions

func (_m *Client) ABCIQueryWithOptions(path string, data common.HexBytes, opts client.ABCIQueryOptions) (*core_types.ResultABCIQuery, error)

ABCIQueryWithOptions provides a mock function with given fields: path, data, opts

func (*Client) Block

func (_m *Client) Block(height *int64) (*core_types.ResultBlock, error)

Block provides a mock function with given fields: height

func (*Client) BlockResults

func (_m *Client) BlockResults(height *int64) (*core_types.ResultBlockResults, error)

BlockResults provides a mock function with given fields: height

func (*Client) BlockchainInfo

func (_m *Client) BlockchainInfo(minHeight int64, maxHeight int64) (*core_types.ResultBlockchainInfo, error)

BlockchainInfo provides a mock function with given fields: minHeight, maxHeight

func (*Client) BroadcastTxAsync

func (_m *Client) BroadcastTxAsync(tx types.Tx) (*core_types.ResultBroadcastTx, error)

BroadcastTxAsync provides a mock function with given fields: tx

func (*Client) BroadcastTxCommit

func (_m *Client) BroadcastTxCommit(tx types.Tx) (*core_types.ResultBroadcastTxCommit, error)

BroadcastTxCommit provides a mock function with given fields: tx

func (*Client) BroadcastTxSync

func (_m *Client) BroadcastTxSync(tx types.Tx) (*core_types.ResultBroadcastTx, error)

BroadcastTxSync provides a mock function with given fields: tx

func (*Client) Commit

func (_m *Client) Commit(height *int64) (*core_types.ResultCommit, error)

Commit provides a mock function with given fields: height

func (*Client) ConsensusState

func (_m *Client) ConsensusState() (*core_types.ResultConsensusState, error)

ConsensusState provides a mock function with given fields:

func (*Client) DumpConsensusState

func (_m *Client) DumpConsensusState() (*core_types.ResultDumpConsensusState, error)

DumpConsensusState provides a mock function with given fields:

func (*Client) Genesis

func (_m *Client) Genesis() (*core_types.ResultGenesis, error)

Genesis provides a mock function with given fields:

func (*Client) Health

func (_m *Client) Health() (*core_types.ResultHealth, error)

Health provides a mock function with given fields:

func (*Client) IsRunning

func (_m *Client) IsRunning() bool

IsRunning provides a mock function with given fields:

func (*Client) NetInfo

func (_m *Client) NetInfo() (*core_types.ResultNetInfo, error)

NetInfo provides a mock function with given fields:

func (*Client) OnReset

func (_m *Client) OnReset() error

OnReset provides a mock function with given fields:

func (*Client) OnStart

func (_m *Client) OnStart() error

OnStart provides a mock function with given fields:

func (*Client) OnStop

func (_m *Client) OnStop()

OnStop provides a mock function with given fields:

func (*Client) Quit

func (_m *Client) Quit() <-chan struct{}

Quit provides a mock function with given fields:

func (*Client) Reset

func (_m *Client) Reset() error

Reset provides a mock function with given fields:

func (*Client) SetLogger

func (_m *Client) SetLogger(_a0 log.Logger)

SetLogger provides a mock function with given fields: _a0

func (*Client) Start

func (_m *Client) Start() error

Start provides a mock function with given fields:

func (*Client) Status

func (_m *Client) Status() (*core_types.ResultStatus, error)

Status provides a mock function with given fields:

func (*Client) Stop

func (_m *Client) Stop() error

Stop provides a mock function with given fields:

func (*Client) String

func (_m *Client) String() string

String provides a mock function with given fields:

func (*Client) Subscribe

func (_m *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan core_types.ResultEvent, error)

Subscribe provides a mock function with given fields: ctx, subscriber, query, outCapacity

func (*Client) Tx

func (_m *Client) Tx(hash []byte, prove bool) (*core_types.ResultTx, error)

Tx provides a mock function with given fields: hash, prove

func (*Client) TxSearch

func (_m *Client) TxSearch(query string, prove bool, page int, perPage int) (*core_types.ResultTxSearch, error)

TxSearch provides a mock function with given fields: query, prove, page, perPage

func (*Client) Unsubscribe

func (_m *Client) Unsubscribe(ctx context.Context, subscriber string, query string) error

Unsubscribe provides a mock function with given fields: ctx, subscriber, query

func (*Client) UnsubscribeAll

func (_m *Client) UnsubscribeAll(ctx context.Context, subscriber string) error

UnsubscribeAll provides a mock function with given fields: ctx, subscriber

func (*Client) Validators

func (_m *Client) Validators(height *int64) (*core_types.ResultValidators, error)

Validators provides a mock function with given fields: height

Jump to

Keyboard shortcuts

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