You've already forked CasaOS
mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-07-06 23:37:26 +02:00
13 lines
391 B
Go
13 lines
391 B
Go
![]() |
package v1
|
||
|
|
||
|
import (
|
||
|
"github.com/IceWhaleTech/CasaOS-Common/model"
|
||
|
"github.com/IceWhaleTech/CasaOS-Common/utils/common_err"
|
||
|
"github.com/IceWhaleTech/CasaOS/internal/op"
|
||
|
"github.com/gin-gonic/gin"
|
||
|
)
|
||
|
|
||
|
func ListDriverInfo(c *gin.Context) {
|
||
|
c.JSON(common_err.SUCCESS, model.Result{Success: common_err.SUCCESS, Message: common_err.GetMsg(common_err.SUCCESS), Data: op.GetDriverInfoMap()})
|
||
|
}
|