Implement authentication

This commit is contained in:
Pijus Kamandulis
2024-02-21 23:40:54 +02:00
parent 790192bf5a
commit 6a40492c7b
11 changed files with 227 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ func CreateRouter() *gin.Engine {
router := gin.Default()
router.Use(middleware.RequestLogger())
router.Use(middleware.Authentication())
router.GET("/dbs/:databaseId/colls/:collId/pkranges", handlers.GetPartitionKeyRanges)