Documentation ¶
Overview ¶
Package classification NITD Results API
Documentation for NITD Results API
Schemes: http, https BasePath: / Version: 1.0.0 Contact: Rahul Dev Kureel<r.dev2000@gmail.com> Consumes: - application/json Produces: - application/json
swagger:meta
Index ¶
- func GetStudent(db *mongo.Database, rw http.ResponseWriter, request *http.Request)
- func GetStudents(db *mongo.Database, rw http.ResponseWriter, request *http.Request)
- func SignIn(rw http.ResponseWriter, request *http.Request)
- func UpdateStudent(db *mongo.Database, rw http.ResponseWriter, request *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStudent ¶
GetStudent returns information about a particular student
func GetStudents ¶
GetStudents returns a list of students based on the search query parameters
func SignIn ¶
func SignIn(rw http.ResponseWriter, request *http.Request)
swagger:route POST /auth/signin/ authentication signIn Sign in a user Consumes: - application/json
Produces: - application/json
Schemes: http, https
Responses:
default: ErrorResponse 200: ErrorResponse
func UpdateStudent ¶
UpdateStudent updates or creates a student in the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.