apiMocks

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

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

GetHyperBlock -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL