Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApptChange ¶
type ApptChange struct { Time time.Time Appointment time.Time PatientID int PatientName string IsBooking bool }
ApptChange struct
type Collector ¶
type Collector interface { // collects latest changed appointments ordered by time of change CollectChangedAppts(time.Time) ([]*ApptChange, error) }
Collector interface
type MockCollector ¶
MockCollector is an autogenerated mock type for the Collector type
func (*MockCollector) CollectChangedAppts ¶
func (_m *MockCollector) CollectChangedAppts(_a0 time.Time) ([]*ApptChange, error)
CollectChangedAppts provides a mock function with given fields: _a0
type MockMailer ¶
MockMailer is an autogenerated mock type for the Mailer type
func (*MockMailer) Run ¶
func (_m *MockMailer) Run(_a0 <-chan struct{}) error
Run provides a mock function with given fields: _a0
func (*MockMailer) SendMessage ¶
func (_m *MockMailer) SendMessage(_a0 string, _a1 string) error
SendMessage provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.