Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetBlockLogic ¶
func NewGetBlockLogic ¶
func NewGetBlockLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetBlockLogic
func (*GetBlockLogic) GetBlock ¶
func (l *GetBlockLogic) GetBlock(req *types.ReqGetBlock) (resp *types.Block, err error)
type GetBlocksLogic ¶
func NewGetBlocksLogic ¶
func NewGetBlocksLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetBlocksLogic
func (*GetBlocksLogic) GetBlocks ¶
func (l *GetBlocksLogic) GetBlocks(req *types.ReqGetRange) (*types.Blocks, error)
type GetCurrentHeightLogic ¶
func NewGetCurrentHeightLogic ¶
func NewGetCurrentHeightLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCurrentHeightLogic
func (*GetCurrentHeightLogic) GetCurrentHeight ¶
func (l *GetCurrentHeightLogic) GetCurrentHeight() (resp *types.CurrentHeight, err error)
Click to show internal directories.
Click to hide internal directories.