✨ basic structure
This commit is contained in:
10
server/driver.go
Normal file
10
server/driver.go
Normal file
@ -0,0 +1,10 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/Xhofe/alist/drivers"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
func GetDrivers(ctx *fiber.Ctx) error {
|
||||
return SuccessResp(ctx, drivers.GetDriverNames())
|
||||
}
|
Reference in New Issue
Block a user