Documentation ¶
Index ¶
- type Store
- func (s *Store) CheckClientAttachment(employeeID, clientID string) (bool, error)
- func (s *Store) EmployeeList() ([]*model.Employee, error)
- func (s *Store) EmployeesNames(employees []*model.Employee) ([]*model.Employee, error)
- func (s *Store) FindClients(employeeID string) ([]*model.Client, error)
- func (s *Store) LessonCanceled(employeeID string, dateTime time.Time) error
- func (s *Store) LessonIsBusy(employeeID string, dateTime time.Time) (bool, error)
- func (s *Store) LessonsList() ([]*model.Employment, error)
- func (s *Store) LessonsListByEmployeeID(employeeID string) ([]*model.Employment, error)
- func (s *Store) LessonsListByEmployeeIDAndClientID(employeeID, clientID string) ([]*model.Shedule, error)
- func (s *Store) SetLesson(employeeID, clientID string, dateTime time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store ...
func (*Store) CheckClientAttachment ¶
CheckClientAttachment ...
func (*Store) EmployeeList ¶
EmployeeList get all employees
func (*Store) EmployeesNames ¶
EmployeesNames ...
func (*Store) FindClients ¶
FindClients find all clients
func (*Store) LessonCanceled ¶
LessonCanceled canceled lesson
func (*Store) LessonIsBusy ¶
LessonIsBusy ...
func (*Store) LessonsList ¶
func (s *Store) LessonsList() ([]*model.Employment, error)
LessonsList get all lessons
func (*Store) LessonsListByEmployeeID ¶
func (s *Store) LessonsListByEmployeeID(employeeID string) ([]*model.Employment, error)
LessonsListByEmployeeID Get a list of your classes: date, client name
Click to show internal directories.
Click to hide internal directories.