mirror of
https://github.com/pikami/cosmium.git
synced 2025-12-19 17:00:37 +00:00
Implement authentication
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user