Documentation ¶
Index ¶
- type Client
- func (_m *Client) ApplySnapshotChunkAsync(_a0 context.Context, _a1 types.RequestApplySnapshotChunk) (*aceiclient.ReqRes, error)
- func (_m *Client) ApplySnapshotChunkSync(_a0 context.Context, _a1 types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (_m *Client) BeginBlockAsync(_a0 context.Context, _a1 types.RequestBeginBlock) (*aceiclient.ReqRes, error)
- func (_m *Client) BeginBlockSync(_a0 context.Context, _a1 types.RequestBeginBlock) (*types.ResponseBeginBlock, error)
- func (_m *Client) CheckTxAsync(_a0 context.Context, _a1 types.RequestCheckTx) (*aceiclient.ReqRes, error)
- func (_m *Client) CheckTxSync(_a0 context.Context, _a1 types.RequestCheckTx) (*types.ResponseCheckTx, error)
- func (_m *Client) CommitAsync(_a0 context.Context) (*aceiclient.ReqRes, error)
- func (_m *Client) CommitSync(_a0 context.Context) (*types.ResponseCommit, error)
- func (_m *Client) DeliverTxAsync(_a0 context.Context, _a1 types.RequestDeliverTx) (*aceiclient.ReqRes, error)
- func (_m *Client) DeliverTxSync(_a0 context.Context, _a1 types.RequestDeliverTx) (*types.ResponseDeliverTx, error)
- func (_m *Client) EchoAsync(ctx context.Context, msg string) (*aceiclient.ReqRes, error)
- func (_m *Client) EchoSync(ctx context.Context, msg string) (*types.ResponseEcho, error)
- func (_m *Client) EndBlockAsync(_a0 context.Context, _a1 types.RequestEndBlock) (*aceiclient.ReqRes, error)
- func (_m *Client) EndBlockSync(_a0 context.Context, _a1 types.RequestEndBlock) (*types.ResponseEndBlock, error)
- func (_m *Client) Error() error
- func (_m *Client) FlushAsync(_a0 context.Context) (*aceiclient.ReqRes, error)
- func (_m *Client) FlushSync(_a0 context.Context) error
- func (_m *Client) InfoAsync(_a0 context.Context, _a1 types.RequestInfo) (*aceiclient.ReqRes, error)
- func (_m *Client) InfoSync(_a0 context.Context, _a1 types.RequestInfo) (*types.ResponseInfo, error)
- func (_m *Client) InitLedgerAsync(_a0 context.Context, _a1 types.RequestInitLedger) (*aceiclient.ReqRes, error)
- func (_m *Client) InitLedgerSync(_a0 context.Context, _a1 types.RequestInitLedger) (*types.ResponseInitLedger, error)
- func (_m *Client) ListSnapshotsAsync(_a0 context.Context, _a1 types.RequestListSnapshots) (*aceiclient.ReqRes, error)
- func (_m *Client) ListSnapshotsSync(_a0 context.Context, _a1 types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (_m *Client) LoadSnapshotChunkAsync(_a0 context.Context, _a1 types.RequestLoadSnapshotChunk) (*aceiclient.ReqRes, error)
- func (_m *Client) LoadSnapshotChunkSync(_a0 context.Context, _a1 types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (_m *Client) OfferSnapshotAsync(_a0 context.Context, _a1 types.RequestOfferSnapshot) (*aceiclient.ReqRes, error)
- func (_m *Client) OfferSnapshotSync(_a0 context.Context, _a1 types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- func (_m *Client) QueryAsync(_a0 context.Context, _a1 types.RequestQuery) (*aceiclient.ReqRes, error)
- func (_m *Client) QuerySync(_a0 context.Context, _a1 types.RequestQuery) (*types.ResponseQuery, error)
- func (_m *Client) Ready() suturesrv.ReadyChan
- func (_m *Client) Serve(ctx context.Context) error
- func (_m *Client) SetResponseCallback(_a0 aceiclient.Callback)
- func (_m *Client) Start(ctx context.Context) (suturesrv.ReadyChan, chan error)
- func (_m *Client) Status() suturesrv.Status
- func (_m *Client) Stop() (chan struct{}, 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) ApplySnapshotChunkAsync ¶
func (_m *Client) ApplySnapshotChunkAsync(_a0 context.Context, _a1 types.RequestApplySnapshotChunk) (*aceiclient.ReqRes, error)
ApplySnapshotChunkAsync provides a mock function with given fields: _a0, _a1
func (*Client) ApplySnapshotChunkSync ¶
func (_m *Client) ApplySnapshotChunkSync(_a0 context.Context, _a1 types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
ApplySnapshotChunkSync provides a mock function with given fields: _a0, _a1
func (*Client) BeginBlockAsync ¶
func (_m *Client) BeginBlockAsync(_a0 context.Context, _a1 types.RequestBeginBlock) (*aceiclient.ReqRes, error)
BeginBlockAsync provides a mock function with given fields: _a0, _a1
func (*Client) BeginBlockSync ¶
func (_m *Client) BeginBlockSync(_a0 context.Context, _a1 types.RequestBeginBlock) (*types.ResponseBeginBlock, error)
BeginBlockSync provides a mock function with given fields: _a0, _a1
func (*Client) CheckTxAsync ¶
func (_m *Client) CheckTxAsync(_a0 context.Context, _a1 types.RequestCheckTx) (*aceiclient.ReqRes, error)
CheckTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) CheckTxSync ¶
func (_m *Client) CheckTxSync(_a0 context.Context, _a1 types.RequestCheckTx) (*types.ResponseCheckTx, error)
CheckTxSync provides a mock function with given fields: _a0, _a1
func (*Client) CommitAsync ¶
CommitAsync provides a mock function with given fields: _a0
func (*Client) CommitSync ¶
CommitSync provides a mock function with given fields: _a0
func (*Client) DeliverTxAsync ¶
func (_m *Client) DeliverTxAsync(_a0 context.Context, _a1 types.RequestDeliverTx) (*aceiclient.ReqRes, error)
DeliverTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) DeliverTxSync ¶
func (_m *Client) DeliverTxSync(_a0 context.Context, _a1 types.RequestDeliverTx) (*types.ResponseDeliverTx, error)
DeliverTxSync provides a mock function with given fields: _a0, _a1
func (*Client) EndBlockAsync ¶
func (_m *Client) EndBlockAsync(_a0 context.Context, _a1 types.RequestEndBlock) (*aceiclient.ReqRes, error)
EndBlockAsync provides a mock function with given fields: _a0, _a1
func (*Client) EndBlockSync ¶
func (_m *Client) EndBlockSync(_a0 context.Context, _a1 types.RequestEndBlock) (*types.ResponseEndBlock, error)
EndBlockSync provides a mock function with given fields: _a0, _a1
func (*Client) FlushAsync ¶
FlushAsync provides a mock function with given fields: _a0
func (*Client) InfoAsync ¶
func (_m *Client) InfoAsync(_a0 context.Context, _a1 types.RequestInfo) (*aceiclient.ReqRes, error)
InfoAsync provides a mock function with given fields: _a0, _a1
func (*Client) InfoSync ¶
func (_m *Client) InfoSync(_a0 context.Context, _a1 types.RequestInfo) (*types.ResponseInfo, error)
InfoSync provides a mock function with given fields: _a0, _a1
func (*Client) InitLedgerAsync ¶
func (_m *Client) InitLedgerAsync(_a0 context.Context, _a1 types.RequestInitLedger) (*aceiclient.ReqRes, error)
InitLedgerAsync provides a mock function with given fields: _a0, _a1
func (*Client) InitLedgerSync ¶
func (_m *Client) InitLedgerSync(_a0 context.Context, _a1 types.RequestInitLedger) (*types.ResponseInitLedger, error)
InitLedgerSync provides a mock function with given fields: _a0, _a1
func (*Client) ListSnapshotsAsync ¶
func (_m *Client) ListSnapshotsAsync(_a0 context.Context, _a1 types.RequestListSnapshots) (*aceiclient.ReqRes, error)
ListSnapshotsAsync provides a mock function with given fields: _a0, _a1
func (*Client) ListSnapshotsSync ¶
func (_m *Client) ListSnapshotsSync(_a0 context.Context, _a1 types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
ListSnapshotsSync provides a mock function with given fields: _a0, _a1
func (*Client) LoadSnapshotChunkAsync ¶
func (_m *Client) LoadSnapshotChunkAsync(_a0 context.Context, _a1 types.RequestLoadSnapshotChunk) (*aceiclient.ReqRes, error)
LoadSnapshotChunkAsync provides a mock function with given fields: _a0, _a1
func (*Client) LoadSnapshotChunkSync ¶
func (_m *Client) LoadSnapshotChunkSync(_a0 context.Context, _a1 types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
LoadSnapshotChunkSync provides a mock function with given fields: _a0, _a1
func (*Client) OfferSnapshotAsync ¶
func (_m *Client) OfferSnapshotAsync(_a0 context.Context, _a1 types.RequestOfferSnapshot) (*aceiclient.ReqRes, error)
OfferSnapshotAsync provides a mock function with given fields: _a0, _a1
func (*Client) OfferSnapshotSync ¶
func (_m *Client) OfferSnapshotSync(_a0 context.Context, _a1 types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
OfferSnapshotSync provides a mock function with given fields: _a0, _a1
func (*Client) QueryAsync ¶
func (_m *Client) QueryAsync(_a0 context.Context, _a1 types.RequestQuery) (*aceiclient.ReqRes, error)
QueryAsync provides a mock function with given fields: _a0, _a1
func (*Client) QuerySync ¶
func (_m *Client) QuerySync(_a0 context.Context, _a1 types.RequestQuery) (*types.ResponseQuery, error)
QuerySync provides a mock function with given fields: _a0, _a1
func (*Client) SetResponseCallback ¶
func (_m *Client) SetResponseCallback(_a0 aceiclient.Callback)
SetResponseCallback provides a mock function with given fields: _a0