Documentation ¶
Index ¶
- func Init(name string, s types.RPCServer)
- type Grpc
- func (c Grpc) GetAssetTxResult(ctx context.Context, req *types.ReqHash) (*pt.ParacrossAsset, error)
- func (c Grpc) GetTitle(ctx context.Context, req *types.ReqString) (*pt.ParacrossStatus, error)
- func (c Grpc) GetTitleHeight(ctx context.Context, req *pt.ReqParacrossTitleHeight) (*pt.ReceiptParacrossDone, error)
- func (c Grpc) IsSync(ctx context.Context, in *types.ReqNil) (*types.IsCaughtUp, error)
- func (c Grpc) ListTitles(ctx context.Context, req *types.ReqNil) (*pt.RespParacrossTitles, error)
- type Jrpc
- func (c *Jrpc) GetAssetTxResult(req *types.ReqHash, result *interface{}) error
- func (c *Jrpc) GetHeight(req *types.ReqString, result *interface{}) error
- func (c *Jrpc) GetTitleHeight(req *pt.ReqParacrossTitleHeight, result *interface{}) error
- func (c *Jrpc) IsSync(in *types.ReqNil, result *interface{}) error
- func (c *Jrpc) ListTitles(req *types.ReqNil, 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 paracross Grpc interface
func (Grpc) GetAssetTxResult ¶
func (Grpc) GetTitleHeight ¶
func (c Grpc) GetTitleHeight(ctx context.Context, req *pt.ReqParacrossTitleHeight) (*pt.ReceiptParacrossDone, error)
func (Grpc) ListTitles ¶
type Jrpc ¶
type Jrpc struct {
// contains filtered or unexported fields
}
Jrpc paracross jrpc interface
func (*Jrpc) GetAssetTxResult ¶
GetAssetTxResult get asset tx result
func (*Jrpc) GetTitleHeight ¶
func (c *Jrpc) GetTitleHeight(req *pt.ReqParacrossTitleHeight, result *interface{}) error
GetTitleHeight get consensus title height
Click to show internal directories.
Click to hide internal directories.