yaac_backend_demon

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SingleDemonRunthrough

func SingleDemonRunthrough(mvvm shared.MVVM)

Trigger a single runthrough of the demon. This runs independet from StartDemon

func StartDemon

func StartDemon(mvvm shared.MVVM, duration time.Duration)

Start the demon. This runs forever and calls a SingleDemonRunthrough every duration

func TableToAttendanceList

func TableToAttendanceList(mvvm shared.MVVM, mail shared.MailData) (shared.AttendanceList, error)

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.

Jump to

Keyboard shortcuts

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