Documentation
¶
Index ¶
- type HyperBlockFacadeStub
- func (hbf *HyperBlockFacadeStub) GetHyperBlockByHash(hash string, options config.HyperBlockQueryOptions) (*api.CovalentHyperBlockApiResponse, error)
- func (hbf *HyperBlockFacadeStub) GetHyperBlockByNonce(nonce uint64, options config.HyperBlockQueryOptions) (*api.CovalentHyperBlockApiResponse, error)
- func (hbf *HyperBlockFacadeStub) GetHyperBlocksByInterval(noncesInterval *api.Interval, options config.HyperBlocksQueryOptions) (*api.CovalentHyperBlocksApiResponse, error)
- type MultiversxHyperBlockEndPointStub
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HyperBlockFacadeStub ¶
type HyperBlockFacadeStub struct {
GetHyperBlockByNonceCalled func(nonce uint64, options config.HyperBlockQueryOptions) (*api.CovalentHyperBlockApiResponse, error)
GetHyperBlockByHashCalled func(hash string, options config.HyperBlockQueryOptions) (*api.CovalentHyperBlockApiResponse, error)
GetHyperBlocksByIntervalCalled func(noncesInterval *api.Interval, options config.HyperBlocksQueryOptions) (*api.CovalentHyperBlocksApiResponse, error)
}
HyperBlockFacadeStub -
func (*HyperBlockFacadeStub) GetHyperBlockByHash ¶
func (hbf *HyperBlockFacadeStub) GetHyperBlockByHash(hash string, options config.HyperBlockQueryOptions) (*api.CovalentHyperBlockApiResponse, error)
GetHyperBlockByHash -
func (*HyperBlockFacadeStub) GetHyperBlockByNonce ¶
func (hbf *HyperBlockFacadeStub) GetHyperBlockByNonce(nonce uint64, options config.HyperBlockQueryOptions) (*api.CovalentHyperBlockApiResponse, error)
GetHyperBlockByNonce -
func (*HyperBlockFacadeStub) GetHyperBlocksByInterval ¶
func (hbf *HyperBlockFacadeStub) GetHyperBlocksByInterval(noncesInterval *api.Interval, options config.HyperBlocksQueryOptions) (*api.CovalentHyperBlocksApiResponse, error)
type MultiversxHyperBlockEndPointStub ¶
type MultiversxHyperBlockEndPointStub struct {
GetHyperBlockCalled func(path string) (*api.MultiversxHyperBlockApiResponse, error)
}
MultiversxHyperBlockEndPointStub -
func (*MultiversxHyperBlockEndPointStub) GetHyperBlock ¶
func (ehb *MultiversxHyperBlockEndPointStub) GetHyperBlock(path string) (*api.MultiversxHyperBlockApiResponse, error)
GetHyperBlock -
Click to show internal directories.
Click to hide internal directories.