feat: add 189cloud driver

This commit is contained in:
Noah Hsu
2022-09-06 14:39:21 +08:00
parent 534d8d30fc
commit a24dfddc2a
19 changed files with 916 additions and 25 deletions

24
drivers/189/meta.go Normal file
View File

@ -0,0 +1,24 @@
package _189
import (
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/op"
)
type Addition struct {
Username string `json:"username" required:"true"`
Password string `json:"password" required:"true"`
driver.RootID
}
var config = driver.Config{
Name: "189Cloud",
LocalSort: true,
DefaultRoot: "-11",
}
func init() {
op.RegisterDriver(config, func() driver.Driver {
return &Cloud189{}
})
}