Documentation ¶
Index ¶
- func GetClient(target string) (types.Chain33Client, error)
- func ParseError(err error) error
- type AddrbookClient
- func (c *AddrbookClient) QueryBlackList(req *atypes.ReqGetBlackList) (*atypes.ReplyGetBlackList, error)
- func (c *AddrbookClient) QueryFriends(req *atypes.ReqGetFriends) (*atypes.ReplyGetFriends, error)
- func (c *AddrbookClient) QueryServerGroup(req *atypes.ReqGetServerGroup) (*atypes.ReplyGetServerGroup, error)
- func (c *AddrbookClient) QueryUser(req *atypes.ReqGetUser) (*atypes.ReplyGetUser, error)
- func (c *AddrbookClient) UpdateBlackList(priv crypto.PrivKey, data []*atypes.ReqUpdateBlackList) ([]*types.ReceiptLog, error)
- func (c *AddrbookClient) UpdateFriends(priv crypto.PrivKey, data []*atypes.ReqUpdateFriend) ([]*types.ReceiptLog, error)
- func (c *AddrbookClient) UpdateServerGroup(priv crypto.PrivKey, data []*atypes.ReqUpdateServerGroup) ([]*types.ReceiptLog, error)
- func (c *AddrbookClient) UpdateUser(priv crypto.PrivKey, data []*atypes.ReqUpdateField) ([]*types.ReceiptLog, error)
- type Cli
- type ExecCli
- type GRPCCli
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseError ¶
Types ¶
type AddrbookClient ¶
type AddrbookClient struct {
// contains filtered or unexported fields
}
func NewAddrbookCient ¶
func NewAddrbookCient(cli Cli) *AddrbookClient
func (*AddrbookClient) QueryBlackList ¶
func (c *AddrbookClient) QueryBlackList(req *atypes.ReqGetBlackList) (*atypes.ReplyGetBlackList, error)
func (*AddrbookClient) QueryFriends ¶
func (c *AddrbookClient) QueryFriends(req *atypes.ReqGetFriends) (*atypes.ReplyGetFriends, error)
func (*AddrbookClient) QueryServerGroup ¶
func (c *AddrbookClient) QueryServerGroup(req *atypes.ReqGetServerGroup) (*atypes.ReplyGetServerGroup, error)
func (*AddrbookClient) QueryUser ¶
func (c *AddrbookClient) QueryUser(req *atypes.ReqGetUser) (*atypes.ReplyGetUser, error)
func (*AddrbookClient) UpdateBlackList ¶
func (c *AddrbookClient) UpdateBlackList(priv crypto.PrivKey, data []*atypes.ReqUpdateBlackList) ([]*types.ReceiptLog, error)
func (*AddrbookClient) UpdateFriends ¶
func (c *AddrbookClient) UpdateFriends(priv crypto.PrivKey, data []*atypes.ReqUpdateFriend) ([]*types.ReceiptLog, error)
func (*AddrbookClient) UpdateServerGroup ¶
func (c *AddrbookClient) UpdateServerGroup(priv crypto.PrivKey, data []*atypes.ReqUpdateServerGroup) ([]*types.ReceiptLog, error)
func (*AddrbookClient) UpdateUser ¶
func (c *AddrbookClient) UpdateUser(priv crypto.PrivKey, data []*atypes.ReqUpdateField) ([]*types.ReceiptLog, error)
type ExecCli ¶
type ExecCli struct {
// contains filtered or unexported fields
}
func NewExecCli ¶
func (*ExecCli) GetLastHeader ¶
func (*ExecCli) Send ¶
func (c *ExecCli) Send(tx *types.Transaction) ([]*types.ReceiptLog, error)
type GRPCCli ¶
type GRPCCli struct {
// contains filtered or unexported fields
}
func NewGRPCCli ¶
func (*GRPCCli) GetLastHeader ¶
func (*GRPCCli) Send ¶
func (c *GRPCCli) Send(tx *types.Transaction) ([]*types.ReceiptLog, error)
Click to show internal directories.
Click to hide internal directories.