Documentation ¶
Index ¶
- func CreateClassroom(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
- func DeleteClassroom(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
- func GetClassroom(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
- func GetClassrooms(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
- func UpdateClassroom(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
- type Classroom
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClassroom ¶
func CreateClassroom(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
CreateClassroom handles the creation of a new classroom
func DeleteClassroom ¶
func DeleteClassroom(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
DeleteClassroom handles the deletion of a classroom
func GetClassroom ¶
func GetClassroom(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
func GetClassrooms ¶
func GetClassrooms(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
func UpdateClassroom ¶
func UpdateClassroom(w http.ResponseWriter, r *http.Request, collection *mongo.Collection)
Types ¶
Click to show internal directories.
Click to hide internal directories.