Documentation ¶
Index ¶
- type ORM
- func (_m *ORM) DeleteExpired(limit uint, utcNow time.Time, qopts ...pg.QOpt) error
- func (_m *ORM) Get(address *utils.Big, slotId uint, qopts ...pg.QOpt) (*s4.Row, error)
- func (_m *ORM) GetSnapshot(addressRange *s4.AddressRange, qopts ...pg.QOpt) ([]*s4.SnapshotRow, error)
- func (_m *ORM) GetUnconfirmedRows(limit uint, qopts ...pg.QOpt) ([]*s4.Row, error)
- func (_m *ORM) Update(row *s4.Row, qopts ...pg.QOpt) error
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func NewORM ¶
func NewORM(t mockConstructorTestingTNewORM) *ORM
NewORM creates a new instance of ORM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ORM) DeleteExpired ¶
DeleteExpired provides a mock function with given fields: limit, utcNow, qopts
func (*ORM) GetSnapshot ¶
func (_m *ORM) GetSnapshot(addressRange *s4.AddressRange, qopts ...pg.QOpt) ([]*s4.SnapshotRow, error)
GetSnapshot provides a mock function with given fields: addressRange, qopts
func (*ORM) GetUnconfirmedRows ¶
GetUnconfirmedRows provides a mock function with given fields: limit, qopts
type Storage ¶
Storage is an autogenerated mock type for the Storage type
func NewStorage ¶
func NewStorage(t mockConstructorTestingTNewStorage) *Storage
NewStorage creates a new instance of Storage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Storage) Constraints ¶
func (_m *Storage) Constraints() s4.Constraints
Constraints provides a mock function with given fields: