Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryController ¶
InMemoryController is an autogenerated mock type for the InMemoryController type
func (*InMemoryController) Create ¶
func (_m *InMemoryController) Create(request *server.Request, response *server.Response)
Create provides a mock function with given fields: request, response
func (*InMemoryController) GetRecords ¶
func (_m *InMemoryController) GetRecords(request *server.Request, response *server.Response)
GetRecords provides a mock function with given fields: request, response
type InMemoryDatabase ¶
InMemoryDatabase is an autogenerated mock type for the InMemoryDatabase type
func (*InMemoryDatabase) CreateSync ¶
func (_m *InMemoryDatabase) CreateSync(key string, value string)
CreateSync provides a mock function with given fields: key, value
func (*InMemoryDatabase) GetSync ¶
func (_m *InMemoryDatabase) GetSync(key string) string
GetSync provides a mock function with given fields: key
type InMemoryRecordsRepository ¶
InMemoryRecordsRepository is an autogenerated mock type for the InMemoryRecordsRepository type
type InMemoryRecordsService ¶
InMemoryRecordsService is an autogenerated mock type for the InMemoryRecordsService type
type MongoController ¶
MongoController is an autogenerated mock type for the MongoController type
func (*MongoController) GetRecords ¶
func (_m *MongoController) GetRecords(request *server.Request, response *server.Response)
GetRecords provides a mock function with given fields: request, response
type MongoDatabase ¶
MongoDatabase is an autogenerated mock type for the MongoDatabase type
func (*MongoDatabase) Disconnect ¶
func (_m *MongoDatabase) Disconnect()
Disconnect provides a mock function with given fields:
func (*MongoDatabase) GetCollection ¶
func (_m *MongoDatabase) GetCollection(collection string) *mongo.Collection
GetCollection provides a mock function with given fields: collection
type MongoRecordsRepository ¶
MongoRecordsRepository is an autogenerated mock type for the MongoRecordsRepository type
func (*MongoRecordsRepository) GetRecordsWith ¶
func (_m *MongoRecordsRepository) GetRecordsWith(minCount int, maxCount int, startDate time.Time, endDate time.Time) ([]models.MongoRecord, error)
GetRecordsWith provides a mock function with given fields: minCount, maxCount, startDate, endDate
type MongoRecordsService ¶
MongoRecordsService is an autogenerated mock type for the MongoRecordsService type
func (*MongoRecordsService) GetRecords ¶
func (_m *MongoRecordsService) GetRecords(minCount int, maxCount int, startDate time.Time, endDate time.Time) ([]response.MongoRecordResponse, error)
GetRecords provides a mock function with given fields: minCount, maxCount, startDate, endDate
type TestContainer ¶
TestContainer is an autogenerated mock type for the TestContainer type
func (*TestContainer) GetHostPort ¶
func (_m *TestContainer) GetHostPort(port string) string
GetHostPort provides a mock function with given fields: port
func (*TestContainer) Terminate ¶
func (_m *TestContainer) Terminate()
Terminate provides a mock function with given fields: