Documentation ¶
Index ¶
- func Init(name string, s types.RPCServer)
- type Grpc
- type Jrpc
- func (c *Jrpc) CreateRawUnfreezeCreate(param *pty.UnfreezeCreate, result *interface{}) error
- func (c *Jrpc) CreateRawUnfreezeTerminate(param *pty.UnfreezeTerminate, result *interface{}) error
- func (c *Jrpc) CreateRawUnfreezeWithdraw(param *pty.UnfreezeWithdraw, result *interface{}) error
- func (c *Jrpc) GetUnfreeze(in *types.ReqString, result *interface{}) error
- func (c *Jrpc) GetUnfreezeWithdraw(in *types.ReqString, result *interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Grpc ¶
type Grpc struct {
// contains filtered or unexported fields
}
Grpc grpc struct
func (Grpc) GetUnfreeze ¶
GetUnfreeze 获得冻结合约
func (Grpc) GetUnfreezeWithdraw ¶
func (c Grpc) GetUnfreezeWithdraw(ctx context.Context, in *types.ReqString) (*pty.ReplyQueryUnfreezeWithdraw, error)
GetUnfreezeWithdraw 获得冻结合约可提币量
type Jrpc ¶
type Jrpc struct {
// contains filtered or unexported fields
}
Jrpc json rpc struct
func (*Jrpc) CreateRawUnfreezeCreate ¶
func (c *Jrpc) CreateRawUnfreezeCreate(param *pty.UnfreezeCreate, result *interface{}) error
CreateRawUnfreezeCreate 创建冻结合约
func (*Jrpc) CreateRawUnfreezeTerminate ¶
func (c *Jrpc) CreateRawUnfreezeTerminate(param *pty.UnfreezeTerminate, result *interface{}) error
CreateRawUnfreezeTerminate 终止冻结合约
func (*Jrpc) CreateRawUnfreezeWithdraw ¶
func (c *Jrpc) CreateRawUnfreezeWithdraw(param *pty.UnfreezeWithdraw, result *interface{}) error
CreateRawUnfreezeWithdraw 创建提币交易
func (*Jrpc) GetUnfreeze ¶
GetUnfreeze 获得冻结合约
Click to show internal directories.
Click to hide internal directories.