Documentation ¶
Overview ¶
Package dao provides access to the database.
Package mock_dao is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface {
GetLFPData(reconciliationMetaData *models.ReconciliationMetaData) (models.PenaltyList, error)
}
DAO provides access to the database
type MockDAO ¶
type MockDAO struct {
// contains filtered or unexported fields
}
MockDAO is a mock of DAO interface
func NewMockDAO ¶
func NewMockDAO(ctrl *gomock.Controller) *MockDAO
NewMockDAO creates a new mock instance
func (*MockDAO) EXPECT ¶
func (m *MockDAO) EXPECT() *MockDAOMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDAO) GetLFPData ¶
func (m *MockDAO) GetLFPData(reconciliationMetaData *models.ReconciliationMetaData) (models.PenaltyList, error)
GetLFPData mocks base method
type MockDAOMockRecorder ¶
type MockDAOMockRecorder struct {
// contains filtered or unexported fields
}
MockDAOMockRecorder is the mock recorder for MockDAO
func (*MockDAOMockRecorder) GetLFPData ¶
func (mr *MockDAOMockRecorder) GetLFPData(reconciliationMetaData interface{}) *gomock.Call
GetLFPData indicates an expected call of GetLFPData
type Mongo ¶
Mongo provides a MongoDB implementation of the DAO
func (*Mongo) GetLFPData ¶
func (m *Mongo) GetLFPData(reconciliationMetaData *models.ReconciliationMetaData) (models.PenaltyList, error)
GetLFPData fetches lfp data
Click to show internal directories.
Click to hide internal directories.