alist/server/controllers/driver.go

11 lines
217 B
Go
Raw Normal View History

2021-12-07 07:56:43 +00:00
package controllers
2021-10-26 14:28:37 +00:00
import (
2021-12-06 07:55:05 +00:00
"github.com/Xhofe/alist/drivers/base"
2021-12-07 07:56:43 +00:00
"github.com/Xhofe/alist/server/common"
2021-11-13 07:53:26 +00:00
"github.com/gin-gonic/gin"
2021-10-26 14:28:37 +00:00
)
2021-11-13 07:53:26 +00:00
func GetDrivers(c *gin.Context) {
2021-12-07 07:56:43 +00:00
common.SuccessResp(c, base.GetDrivers())
2021-10-26 14:28:37 +00:00
}