studentdata

package
v1.0.1-0...-6ff080b Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: GPL-3.0, GPL-3.0 Imports: 10 Imported by: 0

README

StudentData

This application is an extension to iiitr-services/Server

StudentData package implements methods and endpoints related to student data

Currently supported methods

	- Store AIMS data 			(for students)
	- Get AIMS data 			(for students)

This extension assumes these environment variables to be available (besides from main Server)

	- JWT_SIGNING_KEY			- For JWT formation

Documentation

Overview

This application is an extension to iiitr-services/Server(https://github.com/iiitr-services/Server)

StudentData package implements methods and endpoints related to student data.

Currently supported methods

  • Store AIMS data (for students)
  • Get AIMS data (for students)

This extension assumes these environment variables to be available (besides from main Server)

  • JWT_SIGNING_KEY - For JWT formation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDB

func CheckDB()

Check database connection

func Handler

func Handler(r *mux.Router, database *gorm.DB)

Handler handles http requests

Types

type AIMSAcademicData

type AIMSAcademicData struct {
	Email     string `json:"email" gorm:"primary_key;index"`
	Data      datatypes.JSON
	Timestamp int64 `json:"timestamp"`
}

AIMSAcademicData type as in current system

Jump to

Keyboard shortcuts

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