Documentation ¶
Index ¶
- Variables
- func CreateAlert(studentID int, alert map[string]interface{}) (map[string]interface{}, error)
- func CreateClass(classID int64, name string) (map[string]interface{}, error)
- func CreateHomework(data map[string]interface{}) (map[string]interface{}, error)
- func CreateSchedule(studentID int, data []string) (map[string]interface{}, error)
- func CreateStudent(user *tb.User, classID int64) (map[string]interface{}, error)
- func CreateTimetable(studentID int, scheduleID int64, data map[time.Weekday][]string) (map[string]interface{}, error)
- func DialogueState(studentID int) (int8, error)
- func Init() error
- func QueryAlert(studentID int) ([]map[string]interface{}, error)
- func QueryClassStudents(studentID int) ([]map[string]interface{}, error)
- func QueryHomework(studentID int) ([]map[string]interface{}, error)
- func SetDialogueState(studentID int, state int8) error
- func StudentSession(studentID int) (map[string]interface{}, error)
- func StudentTimetable(studentID int) ([]map[string]interface{}, error)
- func UpdateStudentSession(data map[string]interface{}) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Driver neo4j.Driver Session neo4j.Session )
Functions ¶
func CreateAlert ¶
func CreateHomework ¶
func CreateSchedule ¶
func CreateStudent ¶
func CreateTimetable ¶
func DialogueState ¶
func QueryAlert ¶
func QueryClassStudents ¶
func QueryHomework ¶
func SetDialogueState ¶
func StudentSession ¶
func StudentTimetable ¶
func UpdateStudentSession ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.