Files
OpenList/drivers/kodbox/meta.go

25 lines
461 B
Go
Raw Normal View History

package kodbox
import (
"github.com/OpenListTeam/OpenList/v4/internal/driver"
"github.com/OpenListTeam/OpenList/v4/internal/op"
)
type Addition struct {
driver.RootPath
Address string `json:"address" required:"true"`
UserName string `json:"username" required:"false"`
Password string `json:"password" required:"false"`
}
var config = driver.Config{
Name: "KodBox",
}
func init() {
op.RegisterDriver(func() driver.Driver {
return &KodBox{}
})
}