Documentation ¶
Index ¶
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 ¶
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. The first argument is typically a *testing.T value.
func (*ORM) GetSubscriptions ¶
func (_m *ORM) GetSubscriptions(ctx context.Context, offset uint, limit uint) ([]subscriptions.StoredSubscription, error)
GetSubscriptions provides a mock function with given fields: ctx, offset, limit
func (*ORM) UpsertSubscription ¶
func (_m *ORM) UpsertSubscription(ctx context.Context, subscription subscriptions.StoredSubscription) error
UpsertSubscription provides a mock function with given fields: ctx, subscription
type OnchainSubscriptions ¶
OnchainSubscriptions is an autogenerated mock type for the OnchainSubscriptions type
func NewOnchainSubscriptions ¶
func NewOnchainSubscriptions(t interface { mock.TestingT Cleanup(func()) }) *OnchainSubscriptions
NewOnchainSubscriptions creates a new instance of OnchainSubscriptions. 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 (*OnchainSubscriptions) Close ¶
func (_m *OnchainSubscriptions) Close() error
Close provides a mock function with given fields:
func (*OnchainSubscriptions) GetMaxUserBalance ¶
GetMaxUserBalance provides a mock function with given fields: _a0