Documentation ¶
Index ¶
- Variables
- type AppointmentService
- func (as AppointmentService) CreateAppointment(appointment models.Appointment) (*models.Appointment, error)
- func (as AppointmentService) DecideAppointment(id string, status dto.AppointmentStatus) error
- func (as AppointmentService) DecideRescheduledAppointment(id string, status dto.AppointmentStatus) error
- func (as AppointmentService) RescheduleAppointment(id string, start time.Time, end time.Time) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewAppointmentService), )
Module exports services present
Functions ¶
This section is empty.
Types ¶
type AppointmentService ¶
type AppointmentService struct { CoachAvailabilityCollection models.CoachAvailabilityCollection AppointmentCollection models.AppointmentCollection }
func NewAppointmentService ¶
func NewAppointmentService(cac models.CoachAvailabilityCollection, ac models.AppointmentCollection) AppointmentService
func (AppointmentService) CreateAppointment ¶
func (as AppointmentService) CreateAppointment(appointment models.Appointment) (*models.Appointment, error)
func (AppointmentService) DecideAppointment ¶
func (as AppointmentService) DecideAppointment(id string, status dto.AppointmentStatus) error
func (AppointmentService) DecideRescheduledAppointment ¶
func (as AppointmentService) DecideRescheduledAppointment(id string, status dto.AppointmentStatus) error
func (AppointmentService) RescheduleAppointment ¶
Click to show internal directories.
Click to hide internal directories.