Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(repository store.AlertRepository) domain.AlertService
NewService returns repository struct
Types ¶
type MockAlertRepository ¶
MockAlertRepository is an autogenerated mock type for the AlertRepository type
func (*MockAlertRepository) Create ¶
func (_m *MockAlertRepository) Create(_a0 *domain.Alert) error
Create provides a mock function with given fields: _a0
func (*MockAlertRepository) Get ¶
func (_m *MockAlertRepository) Get(_a0 string, _a1 uint64, _a2 uint64, _a3 uint64) ([]domain.Alert, error)
Get provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*MockAlertRepository) Migrate ¶
func (_m *MockAlertRepository) Migrate() error
Migrate provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.