Documentation
¶
Index ¶
- func SingleDemonRunthrough(mvvm shared.MVVM)
- func StartDemon(mvvm shared.MVVM, duration time.Duration)
- func TableToAttendanceList(mvvm shared.MVVM, mail shared.MailData) (shared.AttendanceList, error)
- func UploadImage(mvvm shared.MVVM, img []byte, course *shared.Course) (*shared.AttendanceList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SingleDemonRunthrough ¶
Trigger a single runthrough of the demon. This runs independet from StartDemon
func StartDemon ¶
Start the demon. This runs forever and calls a SingleDemonRunthrough every duration
func TableToAttendanceList ¶
Convert MailData to an AttendanceList. If the students extracted from the list do not exist, they are created.
func UploadImage ¶
func UploadImage(mvvm shared.MVVM, img []byte, course *shared.Course) (*shared.AttendanceList, error)
Upload an image. This is basically SingleDemonRunthrough but it takes in an image and a course instead of implicitly reading the mails. course may be nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.