services

package
v0.0.0-...-e6a2447 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2022 License: 0BSD Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module exports services present

Functions

This section is empty.

Types

type AppointmentService

type AppointmentService struct {
	CoachAvailabilityCollection models.CoachAvailabilityCollection
	AppointmentCollection       models.AppointmentCollection
}

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

func (as AppointmentService) RescheduleAppointment(id string, start time.Time, end time.Time) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL