mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
refactor: switch router to gin
This commit is contained in:
11
internal/driver/capabilities.go
Normal file
11
internal/driver/capabilities.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package driver
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func Capabilities(c *gin.Context) {
|
||||
c.JSON(200, gin.H{
|
||||
"Capabilities": map[string]bool{
|
||||
"Scope": true, // Indicates that the driver supports scope (local/global)
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user