Documentation ¶
Index ¶
- type DB
- func (_m *DB) Close() error
- func (_m *DB) Get(ctx context.Context, rollId string) (*manual.ManualRollRequest, error)
- func (_m *DB) GetIncomplete(rollerName string) ([]*manual.ManualRollRequest, error)
- func (_m *DB) GetRecent(rollerName string, limit int) ([]*manual.ManualRollRequest, error)
- func (_m *DB) Put(req *manual.ManualRollRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is an autogenerated mock type for the DB type
func NewDB ¶
NewDB creates a new instance of DB. 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 (*DB) GetIncomplete ¶
func (_m *DB) GetIncomplete(rollerName string) ([]*manual.ManualRollRequest, error)
GetIncomplete provides a mock function with given fields: rollerName
Click to show internal directories.
Click to hide internal directories.