Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerDB ¶
ConsumerDB is an autogenerated mock type for the ConsumerDB type
func NewConsumerDB ¶
func NewConsumerDB(t mockConstructorTestingTNewConsumerDB) *ConsumerDB
NewConsumerDB creates a new instance of ConsumerDB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConsumerDB) DB ¶ added in v0.0.3
func (_m *ConsumerDB) DB() *gorm.DB
DB provides a mock function with given fields:
func (*ConsumerDB) ReadBlockNumberByChainID ¶
func (_m *ConsumerDB) ReadBlockNumberByChainID(ctx context.Context, eventType int8, chainID uint32) (*uint64, error)
ReadBlockNumberByChainID provides a mock function with given fields: ctx, eventType, chainID
Click to show internal directories.
Click to hide internal directories.