Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶ added in v1.0.3
type Store interface {
InsertObservation(
studentId string,
creatorId string,
longDesc string,
shortDesc string,
category string,
eventTime *time.Time,
) (*postgres.Observation, error)
GetObservations(studentId string) ([]postgres.Observation, error)
GetProgress(studentId string) ([]postgres.StudentMaterialProgress, error)
UpdateProgress(progress postgres.StudentMaterialProgress) (pg.Result, error)
Get(studentId string) (*postgres.Student, error)
Update(student *postgres.Student) error
Delete(studentId string) error
CheckPermissions(studentId string, userId string) (bool, error)
}
Click to show internal directories.
Click to hide internal directories.