Documentation ¶
Index ¶
- type Client
- func (_m *Client) ABCIInfo() (*core_types.ResultABCIInfo, error)
- func (_m *Client) ABCIQuery(path string, data common.HexBytes) (*core_types.ResultABCIQuery, error)
- func (_m *Client) ABCIQueryWithOptions(path string, data common.HexBytes, opts client.ABCIQueryOptions) (*core_types.ResultABCIQuery, error)
- func (_m *Client) Block(height *int64) (*core_types.ResultBlock, error)
- func (_m *Client) BlockResults(height *int64) (*core_types.ResultBlockResults, error)
- func (_m *Client) BlockchainInfo(minHeight int64, maxHeight int64) (*core_types.ResultBlockchainInfo, error)
- func (_m *Client) BroadcastTxAsync(tx types.Tx) (*core_types.ResultBroadcastTx, error)
- func (_m *Client) BroadcastTxCommit(tx types.Tx) (*core_types.ResultBroadcastTxCommit, error)
- func (_m *Client) BroadcastTxSync(tx types.Tx) (*core_types.ResultBroadcastTx, error)
- func (_m *Client) Commit(height *int64) (*core_types.ResultCommit, error)
- func (_m *Client) ConsensusState() (*core_types.ResultConsensusState, error)
- func (_m *Client) DumpConsensusState() (*core_types.ResultDumpConsensusState, error)
- func (_m *Client) Genesis() (*core_types.ResultGenesis, error)
- func (_m *Client) Health() (*core_types.ResultHealth, error)
- func (_m *Client) IsRunning() bool
- func (_m *Client) NetInfo() (*core_types.ResultNetInfo, error)
- func (_m *Client) OnReset() error
- func (_m *Client) OnStart() error
- func (_m *Client) OnStop()
- func (_m *Client) Quit() <-chan struct{}
- func (_m *Client) Reset() error
- func (_m *Client) SetLogger(_a0 log.Logger)
- func (_m *Client) Start() error
- func (_m *Client) Status() (*core_types.ResultStatus, error)
- func (_m *Client) Stop() error
- func (_m *Client) String() string
- func (_m *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan core_types.ResultEvent, error)
- func (_m *Client) Tx(hash []byte, prove bool) (*core_types.ResultTx, error)
- func (_m *Client) TxSearch(query string, prove bool, page int, perPage int) (*core_types.ResultTxSearch, error)
- func (_m *Client) Unsubscribe(ctx context.Context, subscriber string, query string) error
- func (_m *Client) UnsubscribeAll(ctx context.Context, subscriber string) error
- func (_m *Client) Validators(height *int64) (*core_types.ResultValidators, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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) NetInfo ¶
func (_m *Client) NetInfo() (*core_types.ResultNetInfo, error)
NetInfo 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) Status ¶
func (_m *Client) Status() (*core_types.ResultStatus, error)
Status 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) 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 ¶
Unsubscribe provides a mock function with given fields: ctx, subscriber, query
func (*Client) UnsubscribeAll ¶
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