Versions in this module Expand all Collapse all v0 v0.38.3 Jan 4, 2024 Changes in this version + type Callback func(*types.Request, *types.Response) + type Client interface + CheckTxAsync func(context.Context, *types.RequestCheckTx) (*ReqRes, error) + Echo func(context.Context, string) (*types.ResponseEcho, error) + Error func() error + Flush func(context.Context) 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 *cmtsync.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))