Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler is an autogenerated mock type for the Handler type
func NewHandler ¶
func NewHandler(t mockConstructorTestingTNewHandler) *Handler
NewHandler creates a new instance of Handler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Handler) BlockAdded ¶
BlockAdded provides a mock function with given fields: ctx, block
func (*Handler) BlockRemoved ¶
BlockRemoved provides a mock function with given fields: ctx, block
type Helper ¶
Helper is an autogenerated mock type for the Helper type
func NewHelper ¶
func NewHelper(t mockConstructorTestingTNewHelper) *Helper
NewHelper creates a new instance of Helper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Helper) Block ¶
func (_m *Helper) Block(_a0 context.Context, _a1 *types.NetworkIdentifier, _a2 *types.PartialBlockIdentifier) (*types.Block, error)
Block provides a mock function with given fields: _a0, _a1, _a2
func (*Helper) NetworkStatus ¶
func (_m *Helper) NetworkStatus(_a0 context.Context, _a1 *types.NetworkIdentifier) (*types.NetworkStatusResponse, error)
NetworkStatus provides a mock function with given fields: _a0, _a1