Versions in this module Expand all Collapse all v1 v1.0.0 Sep 1, 2023 Changes in this version + type Callback func(*types.Request, *types.Response) + type Client interface + ApplySnapshotChunkAsync func(types.RequestApplySnapshotChunk) *ReqRes + ApplySnapshotChunkSync func(types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error) + BeginBlockAsync func(types.RequestBeginBlock) *ReqRes + BeginBlockSync func(types.RequestBeginBlock) (*types.ResponseBeginBlock, error) + CheckTxAsync func(types.RequestCheckTx) *ReqRes + CheckTxSync func(types.RequestCheckTx) (*types.ResponseCheckTx, error) + CommitAsync func() *ReqRes + CommitSync func() (*types.ResponseCommit, error) + DeliverTxAsync func(types.RequestDeliverTx) *ReqRes + DeliverTxSync func(types.RequestDeliverTx) (*types.ResponseDeliverTx, error) + EchoAsync func(msg string) *ReqRes + EchoSync func(msg string) (*types.ResponseEcho, error) + EndBlockAsync func(types.RequestEndBlock) *ReqRes + EndBlockSync func(types.RequestEndBlock) (*types.ResponseEndBlock, error) + Error func() error + FlushAsync func() *ReqRes + FlushSync func() error + InfoAsync func(types.RequestInfo) *ReqRes + InfoSync func(types.RequestInfo) (*types.ResponseInfo, error) + InitChainAsync func(types.RequestInitChain) *ReqRes + InitChainSync func(types.RequestInitChain) (*types.ResponseInitChain, error) + ListSnapshotsAsync func(types.RequestListSnapshots) *ReqRes + ListSnapshotsSync func(types.RequestListSnapshots) (*types.ResponseListSnapshots, error) + LoadSnapshotChunkAsync func(types.RequestLoadSnapshotChunk) *ReqRes + LoadSnapshotChunkSync func(types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error) + OfferSnapshotAsync func(types.RequestOfferSnapshot) *ReqRes + OfferSnapshotSync func(types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error) + QueryAsync func(types.RequestQuery) *ReqRes + QuerySync func(types.RequestQuery) (*types.ResponseQuery, error) + SetOptionAsync func(types.RequestSetOption) *ReqRes + SetOptionSync func(types.RequestSetOption) (*types.ResponseSetOption, error) + SetResponseCallback func(Callback) + func NewClient(addr, transport string, mustConnect bool) (client Client, err error) + func NewGRPCClient(addr string, mustConnect bool) Client + func NewLocalClient(mtx *tmsync.Mutex, app types.Application) Client + func NewSocketClient(addr string, mustConnect bool) Client + type ReqRes struct + func NewReqRes(req *types.Request) *ReqRes + func (r *ReqRes) GetCallback() func(*types.Response) + func (r *ReqRes) InvokeCallback() + func (r *ReqRes) SetCallback(cb func(res *types.Response)) + func (r *ReqRes) SetDone()