Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Saver ¶
Saver is an autogenerated mock type for the Saver type
func NewSaver ¶
func NewSaver(t mockConstructorTestingTNewSaver) *Saver
NewSaver creates a new instance of Saver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Saver) EXPECT ¶
func (_m *Saver) EXPECT() *Saver_Expecter
type Saver_Expecter ¶
type Saver_Expecter struct {
// contains filtered or unexported fields
}
func (*Saver_Expecter) Save ¶
func (_e *Saver_Expecter) Save(_a0 interface{}, _a1 interface{}) *Saver_Save_Call
Save is a helper method to define mock.On call
- _a0 context.Context
- _a1 []cosmosclient.TX
type Saver_Save_Call ¶
Saver_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*Saver_Save_Call) Return ¶
func (_c *Saver_Save_Call) Return(_a0 error) *Saver_Save_Call
func (*Saver_Save_Call) Run ¶
func (_c *Saver_Save_Call) Run(run func(_a0 context.Context, _a1 []cosmosclient.TX)) *Saver_Save_Call
type TXsCollector ¶
TXsCollector is an autogenerated mock type for the TXsCollector type
func NewTXsCollector ¶
func NewTXsCollector(t mockConstructorTestingTNewTXsCollector) *TXsCollector
NewTXsCollector creates a new instance of TXsCollector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TXsCollector) CollectTXs ¶
func (_m *TXsCollector) CollectTXs(ctx context.Context, fromHeight int64, tc chan<- []cosmosclient.TX) error
CollectTXs provides a mock function with given fields: ctx, fromHeight, tc
func (*TXsCollector) EXPECT ¶
func (_m *TXsCollector) EXPECT() *TXsCollector_Expecter
type TXsCollector_CollectTXs_Call ¶
TXsCollector_CollectTXs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CollectTXs'
func (*TXsCollector_CollectTXs_Call) Return ¶
func (_c *TXsCollector_CollectTXs_Call) Return(_a0 error) *TXsCollector_CollectTXs_Call
func (*TXsCollector_CollectTXs_Call) Run ¶
func (_c *TXsCollector_CollectTXs_Call) Run(run func(ctx context.Context, fromHeight int64, tc chan<- []cosmosclient.TX)) *TXsCollector_CollectTXs_Call
type TXsCollector_Expecter ¶
type TXsCollector_Expecter struct {
// contains filtered or unexported fields
}
func (*TXsCollector_Expecter) CollectTXs ¶
func (_e *TXsCollector_Expecter) CollectTXs(ctx interface{}, fromHeight interface{}, tc interface{}) *TXsCollector_CollectTXs_Call
CollectTXs is a helper method to define mock.On call
- ctx context.Context
- fromHeight int64
- tc chan<- []cosmosclient.TX