api,db: add page attributes and thread locking

This commit is contained in:
Adhityaa
2018-07-05 10:36:52 +05:30
committed by Adhityaa Chandrasekar
parent 0a03a2c6fc
commit 299649cea2
16 changed files with 427 additions and 4 deletions

View File

@@ -35,5 +35,7 @@ func apiRouterInit(router *mux.Router) error {
router.HandleFunc("/api/comment/approve", commentApproveHandler).Methods("POST")
router.HandleFunc("/api/comment/delete", commentDeleteHandler).Methods("POST")
router.HandleFunc("/api/page/update", pageUpdateHandler).Methods("POST")
return nil
}