Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heights ¶
Heights is an autogenerated mock type for the Heights type
func NewHeights ¶ added in v0.26.1
NewHeights creates a new instance of Heights. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Heights) EXPECT ¶ added in v0.46.0
func (_m *Heights) EXPECT() *Heights_Expecter
type Heights_Expecter ¶ added in v0.46.0
type Heights_Expecter struct {
// contains filtered or unexported fields
}
func (*Heights_Expecter) OnHeight ¶ added in v0.46.0
func (_e *Heights_Expecter) OnHeight(height interface{}, callback interface{}) *Heights_OnHeight_Call
OnHeight is a helper method to define mock.On call
- height uint64
- callback func()
type Heights_OnHeight_Call ¶ added in v0.46.0
Heights_OnHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnHeight'
func (*Heights_OnHeight_Call) Return ¶ added in v0.46.0
func (_c *Heights_OnHeight_Call) Return() *Heights_OnHeight_Call
func (*Heights_OnHeight_Call) Run ¶ added in v0.46.0
func (_c *Heights_OnHeight_Call) Run(run func(height uint64, callback func())) *Heights_OnHeight_Call
func (*Heights_OnHeight_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Heights_OnHeight_Call) RunAndReturn(run func(height uint64, callback func())) *Heights_OnHeight_Call
type Views ¶ added in v0.20.0
Views is an autogenerated mock type for the Views type
func NewViews ¶ added in v0.26.1
NewViews creates a new instance of Views. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Views) EXPECT ¶ added in v0.46.0
func (_m *Views) EXPECT() *Views_Expecter
type Views_Expecter ¶ added in v0.46.0
type Views_Expecter struct {
// contains filtered or unexported fields
}
func (*Views_Expecter) OnView ¶ added in v0.46.0
func (_e *Views_Expecter) OnView(view interface{}, callback interface{}) *Views_OnView_Call
OnView is a helper method to define mock.On call
- view uint64
- callback events.OnViewCallback
type Views_OnView_Call ¶ added in v0.46.0
Views_OnView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnView'
func (*Views_OnView_Call) Return ¶ added in v0.46.0
func (_c *Views_OnView_Call) Return() *Views_OnView_Call
func (*Views_OnView_Call) Run ¶ added in v0.46.0
func (_c *Views_OnView_Call) Run(run func(view uint64, callback events.OnViewCallback)) *Views_OnView_Call
func (*Views_OnView_Call) RunAndReturn ¶ added in v0.46.0
func (_c *Views_OnView_Call) RunAndReturn(run func(view uint64, callback events.OnViewCallback)) *Views_OnView_Call