Documentation ¶
Index ¶
- func NewClient(config *cfg.Config, logger log.Logger, codec *types.Codec) types.Client
- type TMClient
- func (client *TMClient) BroadcastTxAsync(msg *types.TxMsg) (err error)
- func (client *TMClient) BroadcastTxCommit(msg *types.TxMsg) (err error)
- func (client *TMClient) BroadcastTxSync(msg *types.TxMsg) (err error)
- func (client *TMClient) Commit() (err error)
- func (client *TMClient) GetKeys(msg *types.ViewMsg) (keys []string, err error)
- func (client *TMClient) GetMany(msg *types.ViewMsg, handler types.KVHandler) (err error)
- func (client *TMClient) GetObject(msg *types.ViewMsg, obj interface{}) (err error)
- func (client *TMClient) Has(msg *types.ViewMsg) (ok bool, err error)
- func (client *TMClient) MarshalJson(ptr interface{}) (bytes []byte, err error)
- func (client *TMClient) MarshalObject(ptr interface{}) (bytes []byte, err error)
- func (client *TMClient) Query(msg *types.ViewMsg) (data []byte, err error)
- func (client *TMClient) UnmarshalJson(bz []byte, ptr interface{}) error
- func (client *TMClient) UnmarshalObject(bz []byte, ptr interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TMClient ¶
type TMClient struct {
// contains filtered or unexported fields
}
func (*TMClient) BroadcastTxAsync ¶
func (*TMClient) BroadcastTxCommit ¶
func (*TMClient) BroadcastTxSync ¶
func (*TMClient) MarshalJson ¶
func (*TMClient) MarshalObject ¶
func (*TMClient) UnmarshalJson ¶
func (*TMClient) UnmarshalObject ¶
Click to show internal directories.
Click to hide internal directories.